Update release scripts

This commit is contained in:
Taiki Endo
2023-04-03 05:52:57 +09:00
parent 71ccc3978d
commit 2336994aba
4 changed files with 99 additions and 52 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"