From d5d07ceed8d0d6056ac306248bbbd9ed385bad7b Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Tue, 5 Aug 2014 15:42:23 +0000 Subject: [PATCH] improve the version management --- debian/orig-tar.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh index 150f2dd6..9a2c033e 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