diff options
-rwxr-xr-x | debian/orig-tar.sh | 6 |
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 |