Skip to content

Commit

Permalink
feat: add cosmo wasm vm to release
Browse files Browse the repository at this point in the history
  • Loading branch information
JeancarloBarrios committed Oct 19, 2023
1 parent 986d202 commit fa1e733
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 \
Expand All @@ -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 \
Expand Down

0 comments on commit fa1e733

Please sign in to comment.