You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo "You must provide the new version to the script. The current version is $(./scripts/version.sh vega-lite)."
exit 1
fi
if [ "$(git rev-parse --abbrev-ref HEAD)" != "master" ]; then
if [ "$(git rev-parse --abbrev-ref HEAD)" != $2 ]; then
echo "Not on master, please checkout master branch before running this script or provide the branch name as the second parameter if you want to release from non-master branch."
exit 1
else
echo "Note: releasing from a non-master branch '$2'."
fi
fi
set -x
yarn version --new-version $1 --no-git-tag-version