shared: Fix lint errors in new NPM scripts.

Oops!
This commit is contained in:
Greg Price 2022-04-25 10:10:03 -07:00
parent 3fbbfb8ad3
commit f9ae386050
2 changed files with 7 additions and 1 deletions

View File

@ -1,8 +1,11 @@
#!/usr/bin/env bash
set -eu -o pipefail
# shellcheck disable=SC2154 # expect this to run as NPM script
: "${npm_package_version}"
should_color=
if [ -t 2 ]; then # if we're sending to a terminal
if [ -t 2 ]; then # if we're sending to a terminal
should_color=yes
fi

View File

@ -1,5 +1,8 @@
#!/usr/bin/env bash
set -eu -o pipefail
# shellcheck disable=SC2154 # expect this to run as NPM script
: "${npm_package_version}"
git commit -am "shared: Bump version to ${npm_package_version}"
git tag "shared-${npm_package_version}"