update to goreleaser v2 (#2169)

* update goreleaser config:

* --rm-dist is replaced by --clean
* `replacements` is removed:
   https://goreleaser.com/deprecations/#archivesreplacements

* 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-07-05 23:18:08 +02:00
committed by GitHub
parent 825b4298b8
commit 92a23229f8
2 changed files with 7 additions and 5 deletions
+1 -1
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 --rm-dist
goreleaser --skip=publish --clean
capdefs:
python3 ./gencapdefs.py > ${capdef_file}