Files
threeSD/.travis/common/post-upload.sh
T
zhupengfei f0d0552139 Updates to the deploy scripts
Only push 7z files (to reduce confusion)
Use tag name when possible
2020-06-24 15:38:29 +08:00

15 lines
366 B
Bash
Executable File

#!/bin/bash -ex
# Copy documentation
cp license.txt "$REV_NAME"
cp README.md "$REV_NAME"
cp dist/threeSDumper.gm9 "$REV_NAME/dist"
tar $COMPRESSION_FLAGS "$ARCHIVE_NAME" "$REV_NAME"
7z a "$REV_NAME.7z" $REV_NAME
# move the compiled archive into the artifacts directory to be uploaded by travis releases
mv "$ARCHIVE_NAME" artifacts/
mv "$REV_NAME.7z" artifacts/