Some checks failed
ci/woodpecker/push/go-lint Pipeline failed
ci/woodpecker/push/publish-docs Pipeline was successful
ci/woodpecker/tag/gitea Pipeline was successful
ci/woodpecker/tag/publish-docs Pipeline was successful
ci/woodpecker/release/publish-docs Pipeline was successful
15 lines
447 B
Bash
Executable File
15 lines
447 B
Bash
Executable File
#!/bin/bash
|
|
set -eou pipefail
|
|
go mod tidy
|
|
go generate ./...
|
|
CURRENT_TAG="$(go run backy.go version -V)"
|
|
goreleaser -f .goreleaser/github.yml check
|
|
goreleaser -f .goreleaser/gitea.yml check
|
|
changie batch $CURRENT_TAG
|
|
changie merge
|
|
git add .changes/
|
|
git commit -am "$CURRENT_TAG"
|
|
git tag "$CURRENT_TAG"
|
|
git push all
|
|
git push all --tags
|
|
# goreleaser release -f .goreleaser/gitea.yml --clean --release-notes=".changes/$(go run backy.go version -V).md" |