Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 29 lines (22 sloc) 0.54 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
#!/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

echo ""
echo ""
echo "Changes since $previous_version"
git log --pretty=changelog pallet-$previous_version.. | tee git.log
echo ""
echo ""
echo "Now edit ReleaseNotes and README"

$EDITOR ../pallet-wiki/doc/ReleaseNotes.org
$EDITOR README.md
Something went wrong with that request. Please try again.