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': # either 'goreleaser' (default) or 'goreleaser-pro':
distribution: goreleaser distribution: goreleaser
version: latest 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: env:
GITHUB_TOKEN: ${{ secrets.GORELEASER_TOKEN }} GITHUB_TOKEN: ${{ secrets.GORELEASER_TOKEN }}
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro' # Your GoReleaser Pro key, if you are using the 'goreleaser-pro'

View File

@ -2,7 +2,7 @@ pipeline:
release: release:
image: goreleaser/goreleaser image: goreleaser/goreleaser
commands: 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 ] secrets: [ gitea_token ]
when: when:
event: tag event: tag

View File

@ -2,4 +2,4 @@
export GORELEASER_CURRENT_TAG="$(go run backy.go version)" export GORELEASER_CURRENT_TAG="$(go run backy.go version)"
git tag "$(go run backy.go version)" git tag "$(go run backy.go version)"
git push all --tags 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"