Skip to content

Commit

Permalink
fix(ci): Update golang cross compile to 1.22.4 (#2635)
Browse files Browse the repository at this point in the history
* Update golang cross compile to 1.22.4

* update deprecated --skip-validate --skip-release flags
  • Loading branch information
CryptoFewka authored and lumtis committed Aug 6, 2024
1 parent d1d3a45 commit ef554d4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ start-upgrade-import-mainnet-test: zetanode-upgrade
###############################################################################

PACKAGE_NAME := github.com/zeta-chain/node
GOLANG_CROSS_VERSION ?= v1.20.7
GOLANG_CROSS_VERSION ?= v1.22.4
GOPATH ?= '$(HOME)/go'
release-dry-run:
docker run \
Expand All @@ -339,7 +339,7 @@ release-dry-run:
-v ${GOPATH}/pkg:/go/pkg \
-w /go/src/$(PACKAGE_NAME) \
ghcr.io/goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION} \
--clean --skip-validate --skip-publish --snapshot
--clean --skip=validate --skip=publish --snapshot

release:
@if [ ! -f ".release-env" ]; then \
Expand All @@ -355,7 +355,7 @@ release:
-v `pwd`:/go/src/$(PACKAGE_NAME) \
-w /go/src/$(PACKAGE_NAME) \
ghcr.io/goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION} \
release --clean --skip-validate
release --clean --skip=validate

###############################################################################
### Local Mainnet Development ###
Expand Down Expand Up @@ -435,4 +435,4 @@ filter-missed-eth: install-zetatool
zetatool filterdeposit eth \
--config ./tool/filter_missed_deposits/zetatool_config.json \
--evm-max-range 1000 \
--evm-start-block 19464041
--evm-start-block 19464041

0 comments on commit ef554d4

Please sign in to comment.