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 ]