From 3b164be6e76df38aa69740805d398bffaeb98375 Mon Sep 17 00:00:00 2001 From: dlezcano Date: Fri, 24 Oct 2008 21:56:50 +0000 Subject: [PATCH] Helper script to generate releases --- release.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 release.sh 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 -- 2.47.2