mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-13 23:28:50 +00:00
use the time of the system and not the patch are they aren't linear
This commit is contained in:
parent
f830824f43
commit
bd94b9e20d
2
debian/orig-tar.sh
vendored
2
debian/orig-tar.sh
vendored
@ -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}~+$(git log -1 --pretty=format:'%ci-%h'|sed -e "s|+\(.*\)-|+|g" -e "s| ||g" -e "s|-||g" -e "s|:||g" )"
|
||||
VERSION="${VERSION}~+$(date +'%Y%m%d%I%M')+$(git log -1 --pretty=format:'%h')"
|
||||
else
|
||||
|
||||
if ! echo "$EXACT_VERSION"|grep -q "$MAJOR_VERSION"; then
|
||||
|
Loading…
Reference in New Issue
Block a user