summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsylvestre <sylvestre@670adf90-79fe-46c2-b027-9eb1e76e7c7d>2014-08-05 15:42:23 +0000
committersylvestre <sylvestre@670adf90-79fe-46c2-b027-9eb1e76e7c7d>2014-08-05 15:42:23 +0000
commite2eedbf8911c953bbbabdddbe1d7ab9cd4ecdc9c (patch)
treee15767fe33617c0722a07eae2da8d5339941c93b
parent7f07f21bf72b89bc4717ba49528b15fe1418fbe8 (diff)
downloadllvm-toolchain-3.5-e2eedbf8911c953bbbabdddbe1d7ab9cd4ecdc9c.tar.gz
improve the version management
git-svn-id: svn://svn.debian.org/svn/pkg-llvm/llvm-toolchain/branches/3.5@1317 670adf90-79fe-46c2-b027-9eb1e76e7c7d
-rwxr-xr-xdebian/orig-tar.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 150f2dd..9a2c033 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -77,7 +77,11 @@ if test -n "$RCRELEASE"; then
FULL_VERSION="llvm-toolchain-"$MAJOR_VERSION"_"$VERSION
else
VERSION=$CURRENT_VERSION"~svn"$REVISION
- FULL_VERSION="llvm-toolchain-snapshot_"$VERSION
+ if grep -q release_ $BRANCH; then
+ FULL_VERSION="llvm-toolchain-"$MAJOR_VERSION"_"$VERSION
+ else
+ FULL_VERSION="llvm-toolchain-snapshot_"$VERSION
+ fi
fi
# LLVM