From: dlezcano Date: Fri, 24 Oct 2008 21:56:50 +0000 (+0000) Subject: Helper script to generate releases X-Git-Tag: lxc_0_4_0~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b164be6e76df38aa69740805d398bffaeb98375;p=thirdparty%2Flxc.git Helper script to generate releases --- diff --git a/release.sh b/release.sh new file mode 100644 index 000000000..84a631a69 --- /dev/null +++ b/release.sh @@ -0,0 +1,21 @@ +# +# This script is for the maintainer to release rpm, dist and +# tag with the version found in the configure file the cvs +# repository +# +#!/bin/bash + +NAME=$1 +MAJOR=$2 +MINOR=$3 +MICRO=$4 +VERSION=$MAJOR\_$MINOR\_$MICRO +TAG=$NAME\_$VERSION +echo +echo -n "Ready to tag $TAG [Y/n] " +read + +test -z "$REPLY" || echo $REPLY | egrep "y|Y|Yes" && \ + cvs tag $TAG +test ! -z "$REPLY" && echo "Aborted" +exit 0 \ No newline at end of file