[X2Go-Commits] [nx-libs] 05/05: Support tarring up the HEAD of the current branch.

git-admin at x2go.org git-admin at x2go.org
Thu May 28 14:57:46 CEST 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.5.0.x
in repository nx-libs.

commit 2e5b45ada723c56e09c7e4377e98b48ff2f2b3ec
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu May 28 13:30:34 2015 +0200

    Support tarring up the HEAD of the current branch.
---
 debian/changelog        |    1 +
 debian/roll-tarballs.sh |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 15dc500..5580285 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -184,6 +184,7 @@ nx-libs (2:3.5.0.32-0x2go1) UNRELEASED; urgency=low
       in tarball (special focuse on the nx-libs-lite tarball).
     + Allow patch files names having a dash next to the four digits (i.e.,
       1234-<patchname>.<suffix>).
+    + Support tarring up the HEAD of the current branch.
   * debian/COPYING.full+lite:
     + Replace content with GPL-2 license text, because that is the overall
       (i.e., strictest) license we have to deal with in nx-libs.
diff --git a/debian/roll-tarballs.sh b/debian/roll-tarballs.sh
index 47b2b6b..36afd82 100755
--- a/debian/roll-tarballs.sh
+++ b/debian/roll-tarballs.sh
@@ -53,13 +53,13 @@ else
 fi
 
 if [ x"$RELEASE" == "xHEAD" ]; then
-    CHECKOUT="HEAD"
+    CHECKOUT=refs/heads/$(git rev-parse --abbrev-ref HEAD)
 fi
 
 if ! git rev-parse --verify -q "$CHECKOUT" >/dev/null; then
     echo "   '${RELEASE}' is not a valid release number because there is no git tag named ${CHECKOUT}."
     echo "   Please specify one of the following releases:"
-    echo "HEAD"
+    echo "HEAD (on branch `git rev-parse --abbrev-ref HEAD`)"
     git tag -l | grep "^redist" | cut -f2 -d"/" | sort -u
     exit 1
 fi

--
Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list