add the + back in the version

This commit is contained in:
Sylvestre Ledru 2020-01-21 14:33:05 +01:00
parent c41bd2f48d
commit f724684a20
2 changed files with 2 additions and 2 deletions

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
llvm-toolchain-10 (1:10~+20200120101212+de4b2a7fad6-1~exp1) experimental; urgency=medium
llvm-toolchain-10 (1:10~++20200120101212+de4b2a7fad6-1~exp1) experimental; urgency=medium
* Branch llvm-toolchain-10 into its own branch
* Merge recent 9 changes (python 3 and testsuite mostly)

2
debian/orig-tar.sh vendored
View File

@ -118,7 +118,7 @@ if test -z "$TAG" -a -z "$FINAL_RELEASE"; then
# the + is here to make sure that this version is considered more recent than the svn
# dpkg --compare-versions 10~svn374977-1~exp1 lt 10~+2019-svn374977-1~exp1
# to verify that
VERSION="${VERSION}~+$(date +'%Y%m%d%I%M%S')+$(git log -1 --pretty=format:'%h')"
VERSION="${VERSION}~++$(date +'%Y%m%d%I%M%S')+$(git log -1 --pretty=format:'%h')"
else
if ! echo "$EXACT_VERSION"|grep -q "$MAJOR_VERSION"; then