Add a '+' in the version (as the old upload is high than the one without) Will be removed in 11

This commit is contained in:
Sylvestre Ledru 2019-12-30 23:31:12 +01:00
parent a958f0b737
commit 6684f35c9d
2 changed files with 4 additions and 2 deletions

4
debian/changelog vendored
View File

@ -1,6 +1,8 @@
llvm-toolchain-snapshot (1:10~+20191229124255+ef4febd85b5-1~exp1) experimental; urgency=medium
llvm-toolchain-snapshot (1:10~++20191229111838+6991d5728f1-1~exp1) experimental; urgency=medium
* experimental New snapshot release
* Add a '+' in the version (as the old upload is high than the one without)
Will be removed in 11
* Sync 9 into 10
* Change of the version layout date+short git version
* Install /usr/lib/llvm-@LLVM_VERSION@/lib/libarcher_static.a

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