Copy windows binaries to release-bin directory

This commit is contained in:
Janek Bevendorff 2017-01-28 22:45:07 +01:00
parent b7180893c6
commit c043be3aa4
No known key found for this signature in database
GPG Key ID: CFEC2F6850BFFA53

View File

@ -481,12 +481,11 @@ build() {
cmake -DCMAKE_BUILD_TYPE=Release -DWITH_TESTS=Off -G"MSYS Makefiles" \
-DCMAKE_INSTALL_PREFIX="${INSTALL_PREFIX}" $CMAKE_OPTIONS "$SRC_DIR"
logInfo "Compiling sources..."
make $MAKE_OPTIONS
logInfo "Compiling and packaging sources..."
make $MAKE_OPTIONS package
logInfo "Bundling binary packages..."
make package
else
mv "./${APP_NAME}-${RELEASE_NAME}-"*.{exe,zip} ../bin-release
else
logInfo "Configuring build..."
cmake -DCMAKE_BUILD_TYPE=Release -DWITH_TESTS=Off $CMAKE_OPTIONS \
-DCMAKE_INSTALL_PREFIX="${INSTALL_PREFIX}" "$SRC_DIR"
@ -497,7 +496,6 @@ build() {
logInfo "Installing to bin dir..."
make DESTDIR="${OUTPUT_DIR}/bin-release" install/strip
logInfo "Creating AppImage..."
${SRC_DIR}/AppImage-Recipe.sh "$APP_NAME" "$RELEASE_NAME"
fi