UNPKG

291 Bapplication/x-shView Raw
1#!/bin/bash
2set -eux
3# Move to the project root
4SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
5cd $SCRIPT_DIR/..
6OLD_VERSION="${1}"
7NEW_VERSION="${2}"
8 # Do not tag and commit changes made by "npm version"
9export npm_config_git_tag_version=false
10npm version "${NEW_VERSION}"
11
\No newline at end of file