Skip to content

Commit

Permalink
Add a way to test the goreleaser releases
Browse files Browse the repository at this point in the history
  • Loading branch information
pablin-10 committed Feb 6, 2025
1 parent 2f4a1f0 commit b3c2a3c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,17 @@ release:
@echo "Error: GITHUB_TOKEN is not defined. Please define it before running 'make release'."
endif

release-test:
docker run \
--rm \
-e COSMWASM_VERSION=$(COSMWASM_VERSION) \
-v /var/run/docker.sock:/var/run/docker.sock \
-v `pwd`:/go/src/osmosisd \
-w /go/src/osmosisd \
$(GORELEASER_IMAGE) \
release \
--snapshot --clean

.PHONY: all build-linux install format lint \
go-mod-cache draw-deps clean build build-contract-tests-hooks \
test test-all test-build test-cover test-unit test-race benchmark \
Expand Down

0 comments on commit b3c2a3c

Please sign in to comment.