add version to CI configs
Some checks failed
ci/woodpecker/push/go-lint Pipeline failed
ci/woodpecker/tag/gitea Pipeline failed
ci/woodpecker/tag/go-lint Pipeline failed

This commit is contained in:
Andrew Woodlee 2024-11-19 23:08:34 -06:00
parent e73bd9ff3b
commit ea676fe0da
3 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,4 @@
version: 2
before:
hooks:
# You may remove this if you don't use go modules.

View File

@ -1,5 +1,6 @@
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
version: 2
before:
hooks:
# You may remove this if you don't use go modules.

View File

@ -1,6 +1,6 @@
steps:
release:
image: goreleaser/goreleaser
image: goreleaser/goreleaser:2
commands:
- goreleaser release -f .goreleaser/gitea.yml --release-notes=".changes/$(go run backy.go version -V).md"
secrets: [ gitea_token ]