Add powershell version of release-tool

This commit is contained in:
Jonathan White 2021-11-23 09:22:36 -05:00
parent 064d621846
commit 3c824cb500
4 changed files with 546 additions and 11 deletions

View file

@ -435,6 +435,9 @@ if(WIN32)
"${CMAKE_SOURCE_DIR}/LICENSE.GPL-2"
"${CMAKE_CURRENT_BINARY_DIR}/INSTALLER_LICENSE.txt")
# Prepare portal zip file
set(CPACK_INSTALL_SCRIPTS "${CMAKE_SOURCE_DIR}/cmake/MakePortableZip.cmake")
string(REGEX REPLACE "-.*$" "" KEEPASSXC_VERSION_CLEAN ${KEEPASSXC_VERSION})
set(CPACK_GENERATOR "ZIP;WIX")