Add portable .zip build for windows
This commit is contained in:
parent
45658528dc
commit
bc310ff216
@ -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
|
||||
|
||||
@ -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}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user