Skip to content

Commit

Permalink
update to goreleaser v2
Browse files Browse the repository at this point in the history
* goreleaser version must be specified in .goreleaser.yml
* --skip-publish is replaced by --skip=publish
  • Loading branch information
slingamn committed Jun 9, 2024
1 parent 68d8383 commit ae704b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# .goreleaser.yml
# Build customization
version: 2
project_name: ergo
builds:
- main: ergo.go
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ build:
go build -v -ldflags "-X main.commit=$(GIT_COMMIT) -X main.version=$(GIT_TAG)"

release:
goreleaser --skip-publish --clean
goreleaser --skip=publish --clean

capdefs:
python3 ./gencapdefs.py > ${capdef_file}
Expand Down

0 comments on commit ae704b7

Please sign in to comment.