Commit e27328e7 authored by Robert Knight's avatar Robert Knight

Simplify release script using `--minor` flag

Use `yarn version --minor` to bump the package version.

This requires Yarn >= v1.7.0.
parent d4946dab
......@@ -2,8 +2,7 @@
set -eu
SEMVER=./node_modules/.bin/semver
CURRENT_VERSION=$(jq -r .version package.json)
NEW_VERSION=$($SEMVER -i minor "$CURRENT_VERSION")
yarn config set version-sign-git-tag true
yarn version --new-version $NEW_VERSION
# Bump minor package version. The `--minor` option was added in Yarn v1.7.0.
yarn version --minor
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment