mirror of
https://github.com/leozide/leocad.git
synced 2026-07-27 19:56:49 +00:00
Don't define LC_CONTINUOUS_BUILD for tag builds.
This commit is contained in:
+8
-2
@@ -60,14 +60,20 @@ isEmpty(QMAKE_LRELEASE) {
|
||||
}
|
||||
}
|
||||
|
||||
TRAVIS_TAG = $$(TRAVIS_TAG)
|
||||
TRAVIS_COMMIT = $$(TRAVIS_COMMIT)
|
||||
!isEmpty(TRAVIS_COMMIT) {
|
||||
DEFINES += "LC_CONTINUOUS_BUILD=$$system(git rev-parse --short HEAD)"
|
||||
isEmpty(TRAVIS_TAG) {
|
||||
DEFINES += "LC_CONTINUOUS_BUILD=$$system(git rev-parse --short HEAD)"
|
||||
}
|
||||
}
|
||||
|
||||
APPVEYOR_REPO_TAG = $$(APPVEYOR_REPO_TAG)
|
||||
APPVEYOR_REPO_COMMIT = $$(APPVEYOR_REPO_COMMIT)
|
||||
!isEmpty(APPVEYOR_REPO_COMMIT) {
|
||||
DEFINES += "LC_CONTINUOUS_BUILD=$$system(git rev-parse --short HEAD)"
|
||||
isEmpty(APPVEYOR_REPO_TAG) {
|
||||
DEFINES += "LC_CONTINUOUS_BUILD=$$system(git rev-parse --short HEAD)"
|
||||
}
|
||||
}
|
||||
|
||||
TSFILES = resources/leocad_fr.ts resources/leocad_pt.ts resources/leocad_de.ts resources/leocad_uk.ts
|
||||
|
||||
Reference in New Issue
Block a user