mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
add undocumented date variable to VERSION
This commit is contained in:
parent
53c1db8eaf
commit
0ce1ff8566
|
@ -13,15 +13,7 @@ system(git describe --tags --always --dirty): hasGit=1
|
|||
GIT_HASH=$$system(git rev-parse --short=8 HEAD )
|
||||
}
|
||||
|
||||
win32{
|
||||
# date /T output is locale aware.
|
||||
DATE=$$system(date /T)
|
||||
}
|
||||
else{
|
||||
DATE=$$system(date '+%Y/%m/%d')
|
||||
}
|
||||
|
||||
system(echo $${VERSION}.$${GIT_HASH} on $${DATE} > version.txt)
|
||||
system(echo $${VERSION}.$${GIT_HASH} on $${_DATE_} > version.txt)
|
||||
|
||||
!CONFIG( verbose_build_output ) {
|
||||
!win32|*-msvc* {
|
||||
|
|
Loading…
Reference in a new issue