You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by rh...@apache.org on 2015/01/23 22:14:05 UTC
qpid-proton git commit: fixed export to work with tags
Repository: qpid-proton
Updated Branches:
refs/heads/master 72a49feff -> bcbbf2574
fixed export to work with tags
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/bcbbf257
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/bcbbf257
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/bcbbf257
Branch: refs/heads/master
Commit: bcbbf2574b840390318bd7e58e72292433efcce8
Parents: 72a49fe
Author: Rafael Schloming <rh...@alum.mit.edu>
Authored: Fri Jan 23 16:13:56 2015 -0500
Committer: Rafael Schloming <rh...@alum.mit.edu>
Committed: Fri Jan 23 16:13:56 2015 -0500
----------------------------------------------------------------------
bin/export.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/bcbbf257/bin/export.sh
----------------------------------------------------------------------
diff --git a/bin/export.sh b/bin/export.sh
index 549e23b..a0d7568 100755
--- a/bin/export.sh
+++ b/bin/export.sh
@@ -43,7 +43,7 @@ fi
##
(
cd ${SRC}
- BRANCH=$(git symbolic-ref --short HEAD)
- ARCHIVE=$DIR/qpid-proton-${BRANCH}.tgz
- git archive --format=tgz --prefix=qpid-proton-${BRANCH}/ ${BRANCH} -o ${ARCHIVE}
+ TAG=$(git describe --tags --always)
+ ARCHIVE=$DIR/qpid-proton-${TAG}.tgz
+ git archive --format=tgz --prefix=qpid-proton-${TAG}/ ${TAG} -o ${ARCHIVE}
)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org