zulip/web/shared/tools/npm-version

9 lines
209 B
Bash
Executable File

#!/usr/bin/env bash
set -eu -o pipefail
# 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}"