Skip to content

Commit

Permalink
Update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Feb 6, 2022
1 parent 2e45a72 commit effa33c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions tools/publish.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
cd "$(dirname "$0")"/..

# Publish a new release.
#
Expand All @@ -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
Expand Down
3 changes: 1 addition & 2 deletions tools/tidy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# shellcheck disable=SC2046
set -euo pipefail
IFS=$'\n\t'
cd "$(dirname "$0")"/..

# USAGE:
# ./tools/tidy.sh
Expand All @@ -11,8 +12,6 @@ IFS=$'\n\t'
# - prettier
# - shellcheck

cd "$(cd "$(dirname "$0")" && pwd)"/..

x() {
local cmd="$1"
shift
Expand Down

0 comments on commit effa33c

Please sign in to comment.