mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-09 18:11:48 +08:00
Update scripts
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user