mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
Run 'date -u' to get UTC timestamp on unix platforms
The previous argument '--utc' failed on Mac OS X
This commit is contained in:
committed by
Mathew Sutcliffe
parent
0a611890e8
commit
5fb40a628b
@@ -301,7 +301,7 @@ bitrock_builder_bin = $$(BITROCK_BUILDER)
|
||||
############### Publish Jenkins build artifact ###############
|
||||
|
||||
unix:!isEmpty(create_installer.commands) {
|
||||
PUBLISHED_FILENAME = $${INSTALLER_BASENAME}_$$system(date --utc '+%F_%H-%M-%S').$${INSTALLER_EXT}
|
||||
PUBLISHED_FILENAME = $${INSTALLER_BASENAME}_$$system(date -u '+%F_%H-%M-%S').$${INSTALLER_EXT}
|
||||
publish_installer.commands = mv $${INSTALLER_BASENAME}.$${INSTALLER_EXT} ../$${PUBLISHED_FILENAME}
|
||||
publish_installer.depends = create_installer
|
||||
QMAKE_EXTRA_TARGETS += publish_installer
|
||||
|
||||
Reference in New Issue
Block a user