Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 39 lines (31 sloc) 0.849 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 30 31 32 33 34 35 36 37 38 39
#!/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 $previous_version..
echo ""
echo ""
echo "Now edit project.clj, ReleaseNotes and README"

$EDITOR project.clj
$EDITOR lein-ritz/project.clj
$EDITOR lein-ritz/src/leiningen/ritz.clj
$EDITOR ReleaseNotes.md
$EDITOR README.md

echo "================================================="
echo ""
echo "run update-slime-ritz-package-version.sh to update"
echo "slime-ritz.el if uploading to marmalade!"
echo ""
echo "================================================="
Something went wrong with that request. Please try again.