From 97991116bd0137aeea3fc699509d6c17d2c7f5d4 Mon Sep 17 00:00:00 2001 From: Cas Cremers Date: Wed, 10 Sep 2008 11:20:50 +0200 Subject: [PATCH] Fixed release scripts to work with new git conventions. --- dist/build-arch-tag | 6 +++--- dist/releasescript | 2 +- dist/sourcescript | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dist/build-arch-tag b/dist/build-arch-tag index 7585357..e37f337 100755 --- a/dist/build-arch-tag +++ b/dist/build-arch-tag @@ -51,7 +51,7 @@ then echo "Tag $TAG found." else echo "Don't know tag $TAG, please select a revision, e.g. from below:" - git-tag -l + git tag -l echo $DESCR exit fi @@ -65,7 +65,7 @@ DESTDIR=$CURDIR TMPDIR="/tmp" SRCNAME=$ARCHNAME-src -# Hard coded connections, do not change this (hardcoded in git-archive +# Hard coded connections, do not change this (hardcoded in git archive # usage and archive creation) SRCDIR=$TMPDIR/$SRCNAME BUILDDIR=$TMPDIR/$ARCHNAME @@ -81,7 +81,7 @@ rm -rf $SRCDIR rm -rf $BUILDDIR # Change into the lower directory (main archive dir) -cd .. && git-archive --format=tar --prefix=$SRCNAME/ $TAG | (cd $TMPDIR && tar xf -) +cd .. && git archive --format=tar --prefix=$SRCNAME/ $TAG | (cd $TMPDIR && tar xf -) # Base of the package is the gui directory mv $SRCDIR/gui $BUILDDIR diff --git a/dist/releasescript b/dist/releasescript index 9b9825e..a3945a0 100755 --- a/dist/releasescript +++ b/dist/releasescript @@ -26,7 +26,7 @@ then echo " Usage: $0 " echo echo "Don't know tag $TAG, please select one from below:" - git-tag -l + git tag -l echo $DESCR exit fi diff --git a/dist/sourcescript b/dist/sourcescript index ea48b54..d9777af 100755 --- a/dist/sourcescript +++ b/dist/sourcescript @@ -32,7 +32,7 @@ then echo "Tag $TAG found." else echo "Don't know tag $TAG, please select a revision, e.g. from below:" - git-tag -l + git tag -l echo $DESCR exit fi @@ -45,7 +45,7 @@ CURDIR=`pwd` DESTDIR=$CURDIR TMPDIR="/tmp" -# Hard coded connections, do not change this (hardcoded in git-archive +# Hard coded connections, do not change this (hardcoded in git archive # usage and archive creation) BUILDDIR=$TMPDIR/$ARCHNAME @@ -53,7 +53,7 @@ BUILDDIR=$TMPDIR/$ARCHNAME rm -rf $BUILDDIR # Change into the lower directory (main archive dir) -cd .. && git-archive --format=tar --prefix=$ARCHNAME/ $TAG | (cd $TMPDIR && tar xf -) +cd .. && git archive --format=tar --prefix=$ARCHNAME/ $TAG | (cd $TMPDIR && tar xf -) # Prepare tag for gui version echo "SCYTHER_GUI_VERSION = \"$TAG\"" >$BUILDDIR/gui/Gui/Version.py