steps: release: image: goreleaser/goreleaser:2 commands: - goreleaser release -f .goreleaser/gitea.yml --release-notes=".changes/$(go run backy.go version -V).md" secrets: [ gitea_token ] when: event: tag when: - event: tag branch: master