Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (22 sloc) 512 Bytes
#!/bin/bash
# start the release
if [[ $# -lt 2 ]]; then
echo "usage: $(basename $0) previous-version new-version" >&2
exit 1
fi
previous_version=$1
version=$2
echo ""
echo "Start release of $version, previous version is $previous_version"
echo ""
echo ""
git flow release start $version || exit 1
echo ""
echo ""
echo "Changes since $previous_version"
git log --pretty=changelog zi-$previous_version..
echo ""
echo ""
echo "Now edit ReleaseNotes and README"
$EDITOR ReleaseNotes.md
$EDITOR README.md
Something went wrong with that request. Please try again.