update CI configs

This commit is contained in:
Andrew Woodlee 2023-07-01 22:10:19 -05:00
parent 904a579994
commit 62942540b5
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
export GORELEASER_CURRENT_TAG="$(go run backy.go version -V)" # export GORELEASER_CURRENT_TAG="$(go run backy.go version -V)"
git tag "$(go run backy.go version -V)" git tag "$(go run backy.go version -V)"
git push all git push all
git push all --tags git push all --tags
goreleaser release -f .goreleaser/gitea.yml --clean --release-notes=".changes/$(go run backy.go version -V).md" # goreleaser release -f .goreleaser/gitea.yml --clean --release-notes=".changes/$(go run backy.go version -V).md"