mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-22 03:49:27 +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:
parent
68d8383647
commit
ae704b7db4
@ -1,5 +1,6 @@
|
|||||||
# .goreleaser.yml
|
# .goreleaser.yml
|
||||||
# Build customization
|
# Build customization
|
||||||
|
version: 2
|
||||||
project_name: ergo
|
project_name: ergo
|
||||||
builds:
|
builds:
|
||||||
- main: ergo.go
|
- 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)"
|
go build -v -ldflags "-X main.commit=$(GIT_COMMIT) -X main.version=$(GIT_TAG)"
|
||||||
|
|
||||||
release:
|
release:
|
||||||
goreleaser --skip-publish --clean
|
goreleaser --skip=publish --clean
|
||||||
|
|
||||||
capdefs:
|
capdefs:
|
||||||
python3 ./gencapdefs.py > ${capdef_file}
|
python3 ./gencapdefs.py > ${capdef_file}
|
||||||
|
Loading…
Reference in New Issue
Block a user