Update release scripts (take 3)

This commit is contained in:
Taiki Endo
2023-07-09 13:02:13 +09:00
parent 76d33aa44e
commit be8c41d56e
4 changed files with 101 additions and 53 deletions

View File

@@ -4,6 +4,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"