Skip to content

Commit

Permalink
chore(release): Make the release script messaging a bit more user fri…
Browse files Browse the repository at this point in the history
…endly
  • Loading branch information
ryanoglesby08 committed Aug 29, 2017
1 parent 5e8553d commit ae7529b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ yarn release:changelog
#
# Prompt before pushing to give you a chance to make any manual corrections.
#
read -p "Are you ready to make the release? (y/n) " -r
echo "\nCheck that the package.json reflects the desired version: ${VERSION_NUM}."
echo "All commits since the last release should be listed in the CHANGELOG. You may make manual edits there now if necessary.\n"

read -p "When you are satisfied, type 'y' to commit the package.json and CHANGELOG, and generate the version tag. You may abort with 'n'. (y/n) " -r
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
exit 1
fi
Expand Down

0 comments on commit ae7529b

Please sign in to comment.