3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-21 11:29:31 +01:00

update to goreleaser v2

* goreleaser version must be specified in .goreleaser.yml
* --skip-publish is replaced by --skip=publish
This commit is contained in:
Shivaram Lingamneni 2024-06-09 04:25:23 -04:00
parent 68d8383647
commit ae704b7db4
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
# .goreleaser.yml
# Build customization
version: 2
project_name: ergo
builds:
- main: ergo.go

View File

@ -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}