Skip to content

Commit

Permalink
fix: goreleaser commands
Browse files Browse the repository at this point in the history
  • Loading branch information
k-yang committed Jun 6, 2024
1 parent 88d4597 commit 4b7c3a9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,15 @@ release:
-e CGO_ENABLED=1 \
-e GITHUB_TOKEN=${GITHUB_TOKEN} \
goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION} \
release --clean
release --rm-dist

release-snapshot:
docker run \
--rm \
--platform=linux/amd64 \
-v /tmp:/tmp \
-v "$(CURDIR)":/go/src/$(PACKAGE_NAME) \
-w /go/src/$(PACKAGE_NAME) \
-e CGO_ENABLED=1 \
-e GITHUB_TOKEN=${GITHUB_TOKEN} \
goreleaser/goreleaser-cross:${GOLANG_CROSS_VERSION} \
release --clean --snapshot
release --rm-dist --snapshot

0 comments on commit 4b7c3a9

Please sign in to comment.