Skip to content

Commit

Permalink
Merge pull request #35695 from roya0045/master
Browse files Browse the repository at this point in the history
[MXE] Free space before zip
  • Loading branch information
elpaso committed Apr 10, 2020
2 parents c0a2905 + 7d40862 commit 55f89b4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ms-windows/mxe/build-mxe.sh
Expand Up @@ -105,13 +105,17 @@ cat <<__TXT__ > ${RELEASE_DIR}/qt.conf
Plugins = qt5plugins
__TXT__

# First cleanup
rm -rf ${BUILD_DIR}
rm -rf ${CCACHE_DIR}

# Make the zip

cd ${RELEASE_DIR}/..
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}

popd
Expand Down

0 comments on commit 55f89b4

Please sign in to comment.