forked from External/ergo
update to goreleaser v2
* goreleaser version must be specified in .goreleaser.yml * --skip-publish is replaced by --skip=publish
This commit is contained in:
parent
68d8383647
commit
ae704b7db4
2 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
# .goreleaser.yml
|
||||
# Build customization
|
||||
version: 2
|
||||
project_name: ergo
|
||||
builds:
|
||||
- main: ergo.go
|
||||
|
|
|
|||
2
Makefile
2
Makefile
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue