Skip to content

Commit

Permalink
Free space before zip
Browse files Browse the repository at this point in the history
  • Loading branch information
roya0045 committed Apr 9, 2020
1 parent ced0ed4 commit 7d40862
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 7d40862

Please sign in to comment.