mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
shared: Fix lint errors in new NPM scripts.
Oops!
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user