Commit bd08acaf authored by Baptiste Jonglez's avatar Baptiste Jonglez
Browse files

Add release script

parent 666c0115
......@@ -2,6 +2,7 @@
set -e
MESSAGES="s-messages src/messages.h src/"
[ -z "$RELEASE" ] && { echo "usage: $0 X.Y.Z"; exit 1; }
make clean
make src/messages.h src/
git add -f $MESSAGES
git commit -m "Release $RELEASE"
git tag v"$RELEASE"
git archive --prefix=kea-hook-runscript-"$RELEASE"/ -o kea-hook-runscript-"$RELEASE".tar.gz v"$RELEASE"
git rm $MESSAGES
git commit -m "Go back to development after $RELEASE release"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment