update CI configs
This commit is contained in:
parent
904a579994
commit
62942540b5
@ -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
|
||||||
|
4
release
4
release
@ -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"
|
Loading…
Reference in New Issue
Block a user