This repository was archived by the owner on Feb 23, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 4040
4141# Release script
4242echo
43- output 2 " BLOCKS RELEASE SCRIPT"
44- output 2 " ====================="
43+ output 5 " BLOCKS->GitHub RELEASE SCRIPT"
44+ output 5 " ======== ====================="
4545echo
4646printf " This script will build files and create a tag on GitHub based on your local branch."
4747echo
4848echo
49- printf " The /build/ directory will also be pushed to the tag ."
49+ printf " The /build/ directory will also be pushed to the tagged release ."
5050echo
5151echo
52- printf " Before proceeding, ensure you have checked out the correct branch you wish to release, and have committed/pushed all local changes."
53- echo
52+ echo " Before proceeding:"
53+ echo " • Ensure you have checked out the branch you wish to release"
54+ echo " • Ensure you have committed/pushed all local changes"
55+ echo " • Did you remember to update versions, changelogs, and stable tags in the readme and plugin files?"
5456echo
5557output 3 " Do you want to continue? [y/N]: "
5658read -r PROCEED
@@ -103,7 +105,7 @@ git commit -m "Adding /build directory to release"
103105git push origin $BRANCH
104106
105107# Create the new release.
106- if [ $IS_PRE_RELEASE ]; then
108+ if [ $IS_PRE_RELEASE = true ]; then
107109 hub release create -m $VERSION -m " Release of version $VERSION . See readme.txt for details." -t $BRANCH --prerelease " v${VERSION} "
108110else
109111 hub release create -m $MESSAGE -m " Release of version $VERSION . See readme.txt for details." -t $BRANCH " v${VERSION} "
You can’t perform that action at this time.
0 commit comments