Skip to content
Snippets Groups Projects
Commit f1496166 authored by Jesper's avatar Jesper
Browse files

Release script propmts editing of release notes

parent 8f434ee3
No related branches found
No related tags found
No related merge requests found
......@@ -7,13 +7,30 @@ fi
VERSION=$1
echo "This script will tag, build and upload JastAdd2 $VERSION" \
"to jastadd.org/releases/jastadd2/$VERSION"
echo "JastAdd2 Release $VERSION"
echo "========================="
echo
echo "IMPORTANT: Please update doc/release-notes.md before proceeding!"
echo "NB: All **staged** changes will be added to the release commit!"
echo "This script will tag, build and upload JastAdd2 $VERSION to"
echo "http://jastadd.org/releases/jastadd2/$VERSION"
echo
while true; do
read -p "Do you wish to edit doc/release-notes.md now? (yes/no) " yn
case $yn in
[Yy]* )
if [[ -z "$EDITOR" ]]; then
EDITOR=vim
fi
$EDITOR doc/release-notes.md
break
;;
[Nn]* ) break;;
* ) echo "Please answer yes or no.";;
esac
done
echo "NB: All **staged** changes will be added to the release commit!"
while true; do
read -p "Proceed? (yes/no) " yn
case $yn in
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment