Merge pull request #35695 from roya0045/master

[MXE] Free space before zip
This commit is contained in:
Alessandro Pasotti 2020-04-10 13:58:16 +02:00 committed by GitHub
commit 55f89b475c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,13 +105,17 @@ cat <<__TXT__ > ${RELEASE_DIR}/qt.conf
Plugins = qt5plugins Plugins = qt5plugins
__TXT__ __TXT__
# First cleanup
rm -rf ${BUILD_DIR}
rm -rf ${CCACHE_DIR}
# Make the zip # Make the zip
cd ${RELEASE_DIR}/.. cd ${RELEASE_DIR}/..
ZIP_NAME=qgis-mxe-release-$(date +%Y-%m-%d-%H-%I-%S).zip ZIP_NAME=qgis-mxe-release-$(date +%Y-%m-%d-%H-%I-%S).zip
zip -r ${ZIP_NAME} $(basename ${RELEASE_DIR}) zip -r -m ${ZIP_NAME} $(basename ${RELEASE_DIR})
# Cleanup # Second cleanup
rm -rf ${RELEASE_DIR} rm -rf ${RELEASE_DIR}
popd popd