mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-21 15:10:27 +00:00
Update scripts
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
IFS=$'\n\t'
|
IFS=$'\n\t'
|
||||||
|
cd "$(dirname "$0")"/..
|
||||||
|
|
||||||
# Publish a new release.
|
# Publish a new release.
|
||||||
#
|
#
|
||||||
@@ -10,8 +11,6 @@ IFS=$'\n\t'
|
|||||||
# NOTE:
|
# NOTE:
|
||||||
# - This script requires parse-changelog <https://github.com/taiki-e/parse-changelog>
|
# - This script requires parse-changelog <https://github.com/taiki-e/parse-changelog>
|
||||||
|
|
||||||
cd "$(cd "$(dirname "$0")" && pwd)"/..
|
|
||||||
|
|
||||||
bail() {
|
bail() {
|
||||||
echo >&2 "error: $*"
|
echo >&2 "error: $*"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
# shellcheck disable=SC2046
|
# shellcheck disable=SC2046
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
IFS=$'\n\t'
|
IFS=$'\n\t'
|
||||||
|
cd "$(dirname "$0")"/..
|
||||||
|
|
||||||
# USAGE:
|
# USAGE:
|
||||||
# ./tools/tidy.sh
|
# ./tools/tidy.sh
|
||||||
@@ -11,8 +12,6 @@ IFS=$'\n\t'
|
|||||||
# - prettier
|
# - prettier
|
||||||
# - shellcheck
|
# - shellcheck
|
||||||
|
|
||||||
cd "$(cd "$(dirname "$0")" && pwd)"/..
|
|
||||||
|
|
||||||
x() {
|
x() {
|
||||||
local cmd="$1"
|
local cmd="$1"
|
||||||
shift
|
shift
|
||||||
|
|||||||
Reference in New Issue
Block a user