mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Added build date in Chatterino title for all platforms of CI.
This commit is contained in:
parent
e56c90c33d
commit
f24cad5fd7
2 changed files with 7 additions and 3 deletions
|
@ -24,7 +24,8 @@ matrix:
|
||||||
- sh ./.CI/InstallQTStylePlugins.sh
|
- sh ./.CI/InstallQTStylePlugins.sh
|
||||||
|
|
||||||
script:
|
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)
|
- make -j$(nproc)
|
||||||
|
|
||||||
before_deploy:
|
before_deploy:
|
||||||
|
@ -62,7 +63,8 @@ matrix:
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- mkdir build && cd build
|
- 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
|
- mkdir app
|
||||||
- mv chatterino.app app/
|
- mv chatterino.app app/
|
||||||
- "create-dmg \
|
- "create-dmg \
|
||||||
|
|
|
@ -28,7 +28,9 @@ build_script:
|
||||||
|
|
||||||
conan install ..
|
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
|
set cl=/MP
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue