5# Please use this script to cut new releases.
6# It will create a tag and push it, which will trigger CI to create a release,
7# build release files, push them to the release, and publish a new version on NPM
9NEW_TAG=v$(jq -r ".version" package.json)
11# Fail if the new tag already exists
12if git rev-parse "${NEW_TAG}" >/dev/null 2>&1; then
13 echo "Tag '${NEW_TAG}' already exists, please bump the version in package.json";
17echo "Creating and pushing new tag '${NEW_TAG}'.."
21git push origin "${NEW_TAG}"
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list