Update scripts

This commit is contained in:
Taiki Endo
2022-02-06 10:00:55 +09:00
parent 2e45a72791
commit effa33c167
2 changed files with 2 additions and 4 deletions

View File

@@ -1,6 +1,7 @@
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
cd "$(dirname "$0")"/..
# Publish a new release.
#
@@ -10,8 +11,6 @@ IFS=$'\n\t'
# NOTE:
# - This script requires parse-changelog <https://github.com/taiki-e/parse-changelog>
cd "$(cd "$(dirname "$0")" && pwd)"/..
bail() {
echo >&2 "error: $*"
exit 1

View File

@@ -2,6 +2,7 @@
# shellcheck disable=SC2046
set -euo pipefail
IFS=$'\n\t'
cd "$(dirname "$0")"/..
# USAGE:
# ./tools/tidy.sh
@@ -11,8 +12,6 @@ IFS=$'\n\t'
# - prettier
# - shellcheck
cd "$(cd "$(dirname "$0")" && pwd)"/..
x() {
local cmd="$1"
shift