PROTON-1668: update release helper script, use version rather than tag name for archive filename
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/2c07cc30 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/2c07cc30 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/2c07cc30 Branch: refs/heads/go1 Commit: 2c07cc30064bacf4f315ea60f2973ba213379bbc Parents: 41003e6 Author: Robbie Gemmell <rob...@apache.org> Authored: Tue Oct 31 12:43:33 2017 +0000 Committer: Robbie Gemmell <rob...@apache.org> Committed: Tue Oct 31 12:44:58 2017 +0000 ---------------------------------------------------------------------- bin/export.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/2c07cc30/bin/export.sh ---------------------------------------------------------------------- diff --git a/bin/export.sh b/bin/export.sh index 4bad515..ee2c23c 100755 --- a/bin/export.sh +++ b/bin/export.sh @@ -66,8 +66,8 @@ WORKDIR=$(mktemp -d) ( cd ${SRC} MTIME=$(date -d @`git log -1 --pretty=format:%ct tags/${TAG}` '+%Y-%m-%d %H:%M:%S') - ARCHIVE=$DIR/qpid-proton-${TAG}.tar.gz VERSION=$(git show tags/${TAG}:version.txt) + ARCHIVE=$DIR/qpid-proton-${VERSION}.tar.gz PREFIX=qpid-proton-${VERSION} [ -d ${WORKDIR} ] || mkdir -p ${WORKDIR} git archive --format=tar --prefix=${PREFIX}/ tags/${TAG} \ --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org