From b6eb9fb81ba877bf77237471e418c3a51a27160e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Schaerer?= Date: Sat, 24 Sep 2011 11:48:26 +0200 Subject: [PATCH] update make_release to use git-version --- make_release.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/make_release.sh b/make_release.sh index 103e85f..3ff9ab0 100755 --- a/make_release.sh +++ b/make_release.sh @@ -1,5 +1,6 @@ #!/bin/bash + if [ $# -ne 1 ] then echo "Usage: `basename $0` release" @@ -8,6 +9,9 @@ then fi version=$1 +#Create tag +git tag -a release-${version} + #check for tag existence git describe release-$1 2>&1 >/dev/null || { @@ -15,4 +19,5 @@ git describe release-$1 2>&1 >/dev/null || exit 1 } +./git-version.sh git archive --format=tar --prefix autojump_${version}/ release-${version} | gzip > autojump_${version}.tar.gz