Skip to content

Commit

Permalink
Check whether on main branch in script
Browse files Browse the repository at this point in the history
  • Loading branch information
rikhuijzer committed Mar 13, 2024
1 parent c6853d6 commit ddb5ac2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions script/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ echo "VERSION: $VERSION"
TAGNAME="v$VERSION"
echo "TAGNAME: $TAGNAME"

echo ""
echo "ENSURE YOU ARE ON THE MAIN BRANCH"
echo ""

read -p 'Release notes, which will not trigger a release yet: ' NOTES

read -p "Creating a new tag, which WILL TRIGGER A RELEASE with the following release notes: \"$NOTES\". Are you sure? [y/N]" -n 1 -r
Expand Down

0 comments on commit ddb5ac2

Please sign in to comment.