13 lines
424 B
Bash
Executable File
13 lines
424 B
Bash
Executable File
#!/bin/bash
|
|
set -eou pipefail
|
|
export 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" |