From a0fd53ae240e76d8fa0af6cbc8bdeb6c9ad61dfc Mon Sep 17 00:00:00 2001 From: Marcus Llewellyn Date: Fri, 17 Jan 2020 14:58:40 -0600 Subject: [PATCH] Change installer name from Beta to Alpha --- cmake/macros/GenerateInstallers.cmake | 2 +- cmake/templates/NSIS.template.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/macros/GenerateInstallers.cmake b/cmake/macros/GenerateInstallers.cmake index 91f8d49426..83bdefeada 100644 --- a/cmake/macros/GenerateInstallers.cmake +++ b/cmake/macros/GenerateInstallers.cmake @@ -31,7 +31,7 @@ macro(GENERATE_INSTALLERS) set(CPACK_PACKAGE_NAME ${_DISPLAY_NAME}) set(CPACK_PACKAGE_VENDOR "Project Athena") set(CPACK_PACKAGE_VERSION ${BUILD_VERSION}) - set(CPACK_PACKAGE_FILE_NAME "ProjectAthena-Beta${_PACKAGE_NAME_EXTRA}-${BUILD_VERSION}") + set(CPACK_PACKAGE_FILE_NAME "ProjectAthena-Alpha${_PACKAGE_NAME_EXTRA}-${BUILD_VERSION}") set(CPACK_NSIS_DISPLAY_NAME ${_DISPLAY_NAME}) set(CPACK_NSIS_PACKAGE_NAME ${_DISPLAY_NAME}) if (PR_BUILD) diff --git a/cmake/templates/NSIS.template.in b/cmake/templates/NSIS.template.in index 6f06b6b56d..0e4c2f3579 100644 --- a/cmake/templates/NSIS.template.in +++ b/cmake/templates/NSIS.template.in @@ -424,7 +424,7 @@ Function GetCampaignName Pop $0 ; Discard Path Pop $0 ; Recover filename ; Parse campaign out of the filename - ${RECaptureMatches} $0 "ProjectAthena-([^-]*-)Beta-.*" $0 0 + ${RECaptureMatches} $0 "ProjectAthena-([^-]*-)Alpha-.*" $0 0 ${If} $0 == 1 Pop $0 ; Recover campaign name StrCpy $0 $0 -1 0 ; Remove trailing - and copy to _RetVar