diff --git a/.travis.yml b/.travis.yml index 67d9938..1b9efa0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,6 +29,7 @@ deploy: file: - build/${PACKAGING_INSTALLER_NAME}-${TRAVIS_TAG}.exe - build/${PACKAGING_INSTALLER_NAME}-${TRAVIS_TAG}-macOS.zip + - build/${PACKAGING_INSTALLER_NAME}-${TRAVIS_TAG}-winportable.zip skip_cleanup: true on: tags: true diff --git a/packaging/windows/buildpackage.sh b/packaging/windows/buildpackage.sh index 75020d0..52b8eae 100755 --- a/packaging/windows/buildpackage.sh +++ b/packaging/windows/buildpackage.sh @@ -85,5 +85,12 @@ if [ $? -eq 0 ]; then fi popd > /dev/null +echo "Packaging zip archive" +pushd "${BUILTDIR}" > /dev/null +find "${SRC_DIR}/thirdparty/download/windows/" -name '*.dll' -exec cp '{}' '.' ';' +zip "${PACKAGING_INSTALLER_NAME}-${TAG}-winportable" -r -9 * --quiet --symlinks +mv "${PACKAGING_INSTALLER_NAME}-${TAG}-winportable.zip" "${OUTPUTDIR}" +popd > /dev/null + # Cleanup rm -rf "${BUILTDIR}"