Update goreleaser flags

This commit is contained in:
Junegunn Choi 2024-01-20 14:36:52 +09:00
parent 532274045e
commit 66546208b2
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -93,7 +93,7 @@ generate:
PATH=$(PATH):$(GOPATH)/bin $(GO) generate ./...
build:
goreleaser build --rm-dist --snapshot --skip-post-hooks
goreleaser build --clean --snapshot --skip=post-hooks
release:
# Make sure that the tests pass and the build works
@ -126,7 +126,7 @@ endif
git push origin temp --follow-tags --force
# Make a GitHub release
goreleaser --rm-dist --release-notes tmp/release-note
goreleaser --clean --release-notes tmp/release-note
# Push to master
git checkout master