cdist/doc/dev/releasechecklist
Nico Schottelius 7a8559fe52 in theory finish releasechecklistscript
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-04-19 22:40:51 +02:00

31 lines
600 B
Bash
Executable file

#!/bin/sh -e
files="bin/cdist-config doc/changelog"
# Stuff to take care of when doing a release
echo "Preparing next release"
# Ensure documentation builds cleanly
./build.sh clean && ./build.sh man
# get version
version=$(awk -F'=' '/^__cdist_version/ { print $2 }' bin/cdist-config | sed 's/"//g')
# get target branch
branch=${version%.?}
# adjust version and release date
vi $files
# Commit stuff
git commit $files
# Import into current version branch
git checkout $branch
git merge master
# Publish manpages and sourcecode
./build.sh web
./build.sh pub
# FIXME: add tagging somewhere!