Merge pull request #1200 from 23rd/patch-33-date-build-in-title
Added build date in Chatterino title for all platforms of CI.
This commit is contained in:
+4
-2
@@ -24,7 +24,8 @@ matrix:
|
||||
- sh ./.CI/InstallQTStylePlugins.sh
|
||||
|
||||
script:
|
||||
- /opt/qt512/bin/qmake CONFIG+=release PREFIX=/usr
|
||||
- dateOfBuild="CHATTERINO_NIGHTLY_VERSION_STRING=\"\\\"$(date +%d.%m.%Y)\\\"\""
|
||||
- /opt/qt512/bin/qmake CONFIG+=release PREFIX=/usr DEFINES+=$dateOfBuild
|
||||
- make -j$(nproc)
|
||||
|
||||
before_deploy:
|
||||
@@ -62,7 +63,8 @@ matrix:
|
||||
|
||||
script:
|
||||
- mkdir build && cd build
|
||||
- /usr/local/opt/qt/bin/qmake .. && make -j8
|
||||
- dateOfBuild="CHATTERINO_NIGHTLY_VERSION_STRING=\"\\\"$(date +%d.%m.%Y)\\\"\""
|
||||
- /usr/local/opt/qt/bin/qmake .. DEFINES+=$dateOfBuild && make -j8
|
||||
- mkdir app
|
||||
- mv chatterino.app app/
|
||||
- "create-dmg \
|
||||
|
||||
+3
-1
@@ -28,7 +28,9 @@ build_script:
|
||||
|
||||
conan install ..
|
||||
|
||||
qmake ../chatterino.pro DEFINES+="CHATTERINO_NIGHTLY_VERSION_STRING=\\\"$$system(git describe --always)-$$system(git rev-list master --count)\\\""
|
||||
set dateOfBuild=%date:~7,2%.%date:~4,2%.%date:~10,4%
|
||||
|
||||
qmake ../chatterino.pro DEFINES+="CHATTERINO_NIGHTLY_VERSION_STRING=\\\"'$s%dateOfBuild% '$$system(git describe --always)-$$system(git rev-list master --count)\\\""
|
||||
|
||||
set cl=/MP
|
||||
|
||||
|
||||
Reference in New Issue
Block a user