Skip to content

Commit

Permalink
chore: remove unnecessary setup-env step from release process
Browse files Browse the repository at this point in the history
  • Loading branch information
prdnk committed Jan 6, 2025
1 parent 451a38f commit fdb2079
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -319,9 +319,6 @@ sh-testnet: mod-tidy
### extra utils ###
###############################################################################

setup-env:
@sh scripts/setup_env.sh

push-docker:
@docker build -t ghcr.io/onsonr/sonr:latest .
@docker tag ghcr.io/onsonr/sonr:latest ghcr.io/onsonr/sonr:$(VERSION)
Expand All @@ -333,13 +330,16 @@ status:
@gum format -- "# Sonr ($OS-$VERSION)" "- ($(COMMIT)) $ROOT" "- $(RELEASE_DATE)"
@sleep 3

release: setup-env
release:
@go install github.com/goreleaser/goreleaser/v2@latest
@RELEASE_DATE=$(RELEASE_DATE) goreleaser release --clean

release-dry: setup-env
release-dry:
@go install github.com/goreleaser/goreleaser/v2@latest
@RELEASE_DATE=$(RELEASE_DATE) goreleaser release --snapshot --clean --skip=publish

release-check: setup-env
release-check:
@go install github.com/goreleaser/goreleaser/v2@latest
@RELEASE_DATE=$(RELEASE_DATE) goreleaser check

###############################################################################
Expand Down

0 comments on commit fdb2079

Please sign in to comment.