From ea676fe0da25a274414686bc04a1e1c5c5260974 Mon Sep 17 00:00:00 2001 From: Andrew Woodlee Date: Tue, 19 Nov 2024 23:08:34 -0600 Subject: [PATCH] add version to CI configs --- .goreleaser/gitea.yml | 1 + .goreleaser/github.yml | 1 + .woodpecker/gitea.yml | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.goreleaser/gitea.yml b/.goreleaser/gitea.yml index b95284f..dedbb96 100644 --- a/.goreleaser/gitea.yml +++ b/.goreleaser/gitea.yml @@ -1,3 +1,4 @@ +version: 2 before: hooks: # You may remove this if you don't use go modules. diff --git a/.goreleaser/github.yml b/.goreleaser/github.yml index 53aca5b..c09c586 100644 --- a/.goreleaser/github.yml +++ b/.goreleaser/github.yml @@ -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. diff --git a/.woodpecker/gitea.yml b/.woodpecker/gitea.yml index fbd74a5..4840d38 100644 --- a/.woodpecker/gitea.yml +++ b/.woodpecker/gitea.yml @@ -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 ]