Browse Source

Fix version information, mk. 1

master
TheAssassin 7 years ago
parent
commit
fe98a41328
  1. 4
      tools/linuxdeployqt/linuxdeployqt.pro

4
tools/linuxdeployqt/linuxdeployqt.pro

@ -24,10 +24,10 @@ DEFINES += LINUXDEPLOYQT_GIT_COMMIT="'\"$(shell git rev-parse --short HEAD)\"'"
DEFINES += BUILD_DATE="'\"$(shell env LC_ALL=C date -u '+%Y-%m-%d %H:%M:%S %Z')\"'"
equals($$(TRAVIS_BUILD_NUMBER), "") {
isEmpty($(TRAVIS_BUILD_NUMBER)) {
DEFINES += BUILD_NUMBER="'\"<local dev build>\"'"
} else {
DEFINES += BUILD_NUMBER="'\"$$(TRAVIS_BUILD_NUMBER)\"'"
DEFINES += BUILD_NUMBER="'\"$(TRAVIS_BUILD_NUMBER)"'"
}
DEFINES += LINUXDEPLOYQT_VERSION="'\"$(shell git describe --tags $(shell git rev-list --tags --skip=1 --max-count=1) --abbrev=0)\"'"

Loading…
Cancel
Save