fix for CI scripts
This commit is contained in:
parent
ee83586072
commit
d893a2684e
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -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'
|
||||||
|
@ -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
|
||||||
|
2
release
2
release
@ -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"
|
Loading…
Reference in New Issue
Block a user