2023-01-18 01:48:39 -06:00
|
|
|
#!/bin/bash
|
2025-02-11 21:47:23 -06:00
|
|
|
set -eou pipefail
|
2025-02-11 21:30:13 -06:00
|
|
|
export CURRENT_TAG="$(go run backy.go version -V)"
|
2025-02-11 21:47:23 -06:00
|
|
|
goreleaser -f .goreleaser/github.yml check
|
|
|
|
goreleaser -f .goreleaser/gitea.yml check
|
2025-02-11 21:30:13 -06:00
|
|
|
changie batch $CURRENT_TAG
|
|
|
|
changie merge
|
2025-02-11 21:37:42 -06:00
|
|
|
git add .changes/
|
2025-02-11 21:48:40 -06:00
|
|
|
git commit -am "$CURRENT_TAG"
|
2025-02-11 21:30:13 -06:00
|
|
|
git tag "$CURRENT_TAG"
|
2023-02-18 22:49:05 -06:00
|
|
|
git push all
|
2023-02-18 22:42:15 -06:00
|
|
|
git push all --tags
|
2023-07-01 22:10:19 -05:00
|
|
|
# goreleaser release -f .goreleaser/gitea.yml --clean --release-notes=".changes/$(go run backy.go version -V).md"
|