diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh index ea523854..ab260ebd 100755 --- a/debian/orig-tar.sh +++ b/debian/orig-tar.sh @@ -105,8 +105,11 @@ else fi if test -n "$RCRELEASE"; then -# VERSION=$MAJOR_VERSION"+"$REVISION # WAS TAG - VERSION=$MAJOR_VERSION"~+"$TAG + if test "$TAG" = "final"; then + VERSION=$MAJOR_VERSION + else + VERSION=$MAJOR_VERSION"~+"$TAG + fi FULL_VERSION="llvm-toolchain-"$MAJOR_VERSION"_"$VERSION else VERSION=$CURRENT_VERSION"~svn"$REVISION