From cdb7b6631a26e09cab69b04dc271d881d75202f0 Mon Sep 17 00:00:00 2001 From: Roland Winklmeier Date: Wed, 5 Apr 2017 17:39:40 +0200 Subject: [PATCH] Use installer date format without '-' and '_' --- install.pri | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.pri b/install.pri index a763ca5ad..dfe84311e 100644 --- a/install.pri +++ b/install.pri @@ -318,16 +318,16 @@ bitrock_builder_bin = $$(BITROCK_BUILDER) !isEmpty(create_installer.commands) { win32: { # Fixme: the path to date.exe is currently hard coded - PUBLISHED_FILENAME = $${INSTALLER_BASENAME}_$$system(C:\UnxUtils\usr\local\wbin\date.exe -u +%Y-%m-%d_%H-%M-%S).$${INSTALLER_EXT} + PUBLISHED_FILENAME = $${INSTALLER_BASENAME}.$$system(C:\UnxUtils\usr\local\wbin\date.exe -u +%Y%m%d%H%M%S).$${INSTALLER_EXT} publish_installer.commands = move $${INSTALLER_BASENAME}.$${INSTALLER_EXT} ../$${PUBLISHED_FILENAME} } unix: { isEmpty(INSTALLER_CONTAINER_EXT) { - PUBLISHED_FILENAME = $${INSTALLER_BASENAME}_$$system(date -u '+%F_%H-%M-%S').$${INSTALLER_EXT} + PUBLISHED_FILENAME = $${INSTALLER_BASENAME}.$$system(date -u '+%Y%m%d%H%M%S').$${INSTALLER_EXT} publish_installer.commands = mv $${INSTALLER_BASENAME}.$${INSTALLER_EXT} ../$${PUBLISHED_FILENAME} } else { - PUBLISHED_FILENAME = $${INSTALLER_BASENAME}_$$system(date -u '+%F_%H-%M-%S').$${INSTALLER_CONTAINER_EXT} + PUBLISHED_FILENAME = $${INSTALLER_BASENAME}.$$system(date -u '+%Y%m%d%H%M%S').$${INSTALLER_CONTAINER_EXT} publish_installer.commands = mv $${INSTALLER_BASENAME}.$${INSTALLER_CONTAINER_EXT} ../$${PUBLISHED_FILENAME} } }