Version: 0.1.00.1.10.2.10.2.20.3.00.3.10.3.20.4.00.5.00.5.10.5.20.5.30.6.00.6.10.7.00.7.10.7.20.7.30.7.40.7.50.8.00.8.10.8.20.8.30.9.00.9.10.9.20.9.30.9.40.9.50.9.60.9.70.10.0-00.10.0-10.10.0-20.10.0-30.10.00.10.10.10.20.10.30.11.00.11.10.12.00.12.10.13.01.0.01.0.11.0.21.1.01.1.11.1.21.1.31.1.41.2.01.2.11.2.21.2.31.2.41.2.51.2.61.2.71.2.81.2.91.2.101.2.111.2.121.2.131.2.141.2.151.2.161.2.171.3.01.4.01.4.12.0.02.0.12.0.22.1.02.2.02.2.12.2.22.3.02.3.12.4.02.4.12.4.22.5.02.6.02.6.12.7.03.0.03.1.0-beta.03.1.03.2.03.2.13.2.23.2.33.3.03.3.13.3.23.4.03.5.03.6.03.7.03.7.13.8.03.9.03.9.13.9.23.10.03.11.03.12.03.13.03.14.03.14.13.15.03.16.03.16.13.16.23.16.33.16.43.16.53.17.03.18.03.18.13.19.03.20.03.20.13.20.23.20.3-beta.03.20.33.20.43.20.53.21.03.22.03.22.13.22.23.22.33.23.03.23.13.23.23.23.33.24.03.24.13.25.03.25.13.25.23.26.03.27.03.28.03.29.03.30.03.31.0
#!/bin/bash
set -eux
# Move to the project root
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $SCRIPT_DIR/..
OLD_VERSION="${1}"
NEW_VERSION="${2}"
# Do not tag and commit changes made by "npm version"
export npm_config_git_tag_version=false
npm version "${NEW_VERSION}"