sfizz/scripts/appveyor/after_build.sh

13 lines
279 B
Bash
Raw Normal View History

2020-10-27 04:12:54 +01:00
#!/bin/bash
set -ex
make DESTDIR=${PWD}/${INSTALL_DIR} install
tar -zcvf "${INSTALL_DIR}.tar.gz" ${INSTALL_DIR}
# Only release a tarball if there is a tag
if [[ ${APPVEYOR_REPO_TAG} ]]; then
mv "${INSTALL_DIR}.tar.gz" ${APPVEYOR_BUILD_FOLDER}
fi
cd ${APPVEYOR_BUILD_FOLDER}