diff --git a/Makefile b/Makefile index 198beb7c..4229789b 100644 --- a/Makefile +++ b/Makefile @@ -232,16 +232,15 @@ cover-html: test-unit-cover ### Release ### ############################################################################### +GO_VERSION=1.20 GORELEASER_IMAGE := ghcr.io/goreleaser/goreleaser-cross:v$(GO_VERSION) COSMWASM_VERSION := $(shell go list -m github.com/CosmWasm/wasmvm | sed 's/.* //') -GO_VERSION=1.20 ifdef GITHUB_TOKEN release: docker run \ --rm \ -e GITHUB_TOKEN=$(GITHUB_TOKEN) \ -e COSMWASM_VERSION=$(COSMWASM_VERSION) \ - -e GO_VERSION=$(GO_VERSION) \ -v /var/run/docker.sock:/var/run/docker.sock \ -v `pwd`:/go/src/seda-chaind \ -w /go/src/seda-chaind \ @@ -257,7 +256,6 @@ endif release-dry-run: docker run \ --rm \ - -e GO_VERSION=$(GO_VERSION) \ -e COSMWASM_VERSION=$(COSMWASM_VERSION) \ -v /var/run/docker.sock:/var/run/docker.sock \ -v `pwd`:/go/src/seda-chaind \ @@ -270,7 +268,6 @@ release-dry-run: release-snapshot: docker run \ --rm \ - -e GO_VERSION=$(GO_VERSION) \ -e COSMWASM_VERSION=$(COSMWASM_VERSION) \ -v /var/run/docker.sock:/var/run/docker.sock \ -v `pwd`:/go/src/seda-chaind \