Update release scripts (take 2)

This commit is contained in:
Taiki Endo
2023-04-11 12:56:22 +09:00
parent 1fe1e0ef01
commit 3cd0f0ed94
4 changed files with 99 additions and 54 deletions

View File

@@ -3,6 +3,15 @@ set -euxo pipefail
IFS=$'\n\t'
cd "$(dirname "$0")"/..
bail() {
echo >&2 "error: $*"
exit 1
}
if [[ -z "${CI:-}" ]]; then
bail "this script is intended to call from release workflow on CI"
fi
git config user.name "Taiki Endo"
git config user.email "te316e89@gmail.com"