fix for CI scripts

This commit is contained in:
Andrew 2023-02-18 22:48:15 -06:00
parent ee83586072
commit d893a2684e
3 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ jobs:
# either 'goreleaser' (default) or 'goreleaser-pro':
distribution: goreleaser
version: latest
args: release --release-notes=".changes/$(go run backy.go version)" -f .goreleaser/github.yml --clean
args: release --release-notes=".changes/$(go run backy.go version).md" -f .goreleaser/github.yml --clean
env:
GITHUB_TOKEN: ${{ secrets.GORELEASER_TOKEN }}
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro'

View File

@ -2,7 +2,7 @@ pipeline:
release:
image: goreleaser/goreleaser
commands:
- goreleaser release -f .goreleaser/vern.yml --release-notes=".changes/$(go run backy.go version)"
- goreleaser release -f .goreleaser/vern.yml --release-notes=".changes/$(go run backy.go version).md"
secrets: [ gitea_token ]
when:
event: tag

View File

@ -2,4 +2,4 @@
export GORELEASER_CURRENT_TAG="$(go run backy.go version)"
git tag "$(go run backy.go version)"
git push all --tags
goreleaser release -f .goreleaser/gitea.yml --clean --release-notes=".changes/$(go run backy.go version)"
goreleaser release -f .goreleaser/gitea.yml --clean --release-notes=".changes/$(go run backy.go version).md"