Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Marsching <sebastian-git-2016@marsching.com>2017-12-09 17:02:57 +0300
committerSebastian Marsching <sebastian-git-2016@marsching.com>2017-12-09 17:02:57 +0300
commitab31619745a1bd0ee4be664a3b69f8210c5c9941 (patch)
treebacd0ed14d746e40fbfef09c0443fbf0a079950e /release-tool
parent1ce77e6f1583d8dad2b8f49c4787e99794a7ef8d (diff)
Build MSI package when making a release.
Diffstat (limited to 'release-tool')
-rwxr-xr-xrelease-tool8
1 files changed, 6 insertions, 2 deletions
diff --git a/release-tool b/release-tool
index 10c6a14c3..8ad547468 100755
--- a/release-tool
+++ b/release-tool
@@ -609,9 +609,13 @@ build() {
-DCMAKE_INSTALL_PREFIX="${INSTALL_PREFIX}" $CMAKE_OPTIONS "$SRC_DIR"
logInfo "Compiling and packaging sources..."
- make $MAKE_OPTIONS package
+ make $MAKE_OPTIONS preinstall
+ # Call cpack directly instead of calling make package.
+ # This is important because we want to build the MSI when making a
+ # release.
+ cpack -G "NSIS;WIX;ZIP"
- mv "./${APP_NAME}-${RELEASE_NAME}-"*.{exe,zip} ../
+ mv "./${APP_NAME}-${RELEASE_NAME}-"*.{exe,msi,zip} ../
else
mkdir -p "${OUTPUT_DIR}/bin-release"