add version to CI configs
This commit is contained in:
parent
e73bd9ff3b
commit
ea676fe0da
@ -1,3 +1,4 @@
|
|||||||
|
version: 2
|
||||||
before:
|
before:
|
||||||
hooks:
|
hooks:
|
||||||
# You may remove this if you don't use go modules.
|
# You may remove this if you don't use go modules.
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
# This is an example .goreleaser.yml file with some sensible defaults.
|
# This is an example .goreleaser.yml file with some sensible defaults.
|
||||||
# Make sure to check the documentation at https://goreleaser.com
|
# Make sure to check the documentation at https://goreleaser.com
|
||||||
|
version: 2
|
||||||
before:
|
before:
|
||||||
hooks:
|
hooks:
|
||||||
# You may remove this if you don't use go modules.
|
# You may remove this if you don't use go modules.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
steps:
|
steps:
|
||||||
release:
|
release:
|
||||||
image: goreleaser/goreleaser
|
image: goreleaser/goreleaser:2
|
||||||
commands:
|
commands:
|
||||||
- goreleaser release -f .goreleaser/gitea.yml --release-notes=".changes/$(go run backy.go version -V).md"
|
- goreleaser release -f .goreleaser/gitea.yml --release-notes=".changes/$(go run backy.go version -V).md"
|
||||||
secrets: [ gitea_token ]
|
secrets: [ gitea_token ]
|
||||||
|
Loading…
Reference in New Issue
Block a user