Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 9033103

Browse files
committed
releaser
1 parent ec93a1b commit 9033103

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

bin/github-deploy.sh

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,19 @@ fi
4040

4141
# Release script
4242
echo
43-
output 2 "BLOCKS RELEASE SCRIPT"
44-
output 2 "====================="
43+
output 5 "BLOCKS->GitHub RELEASE SCRIPT"
44+
output 5 "============================="
4545
echo
4646
printf "This script will build files and create a tag on GitHub based on your local branch."
4747
echo
4848
echo
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."
5050
echo
5151
echo
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?"
5456
echo
5557
output 3 "Do you want to continue? [y/N]: "
5658
read -r PROCEED
@@ -103,7 +105,7 @@ git commit -m "Adding /build directory to release"
103105
git 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}"
108110
else
109111
hub release create -m $MESSAGE -m "Release of version $VERSION. See readme.txt for details." -t $BRANCH "v${VERSION}"

0 commit comments

Comments
 (0)