Skip to content

Commit

Permalink
fix(ci): Update golang cross compile to 1.22.4 (#2635) (#2640)
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

(cherry picked from commit 5dd6fd6)
  • Loading branch information
CryptoFewka authored Aug 6, 2024
1 parent aaa3a80 commit 4f1334c
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 @@ -322,7 +322,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 @@ -334,7 +334,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 @@ -350,7 +350,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 @@ -430,4 +430,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 4f1334c

Please sign in to comment.