Updates to the deploy scripts

Only push 7z files (to reduce confusion)
Use tag name when possible
This commit is contained in:
zhupengfei
2020-06-24 15:38:29 +08:00
parent 732695f456
commit f0d0552139
5 changed files with 23 additions and 15 deletions
+7 -1
View File
@@ -2,7 +2,13 @@
. .travis/common/pre-upload.sh
REV_NAME="threeSD-linux-${GITDATE}-${GITREV}"
# Find out what release we are building
if [ -z $TRAVIS_TAG ]; then
REV_NAME="threeSD-linux-${GITDATE}-${GITREV}"
else
REV_NAME="threeSD-linux-${TRAVIS_TAG}"
fi
ARCHIVE_NAME="${REV_NAME}.tar.xz"
COMPRESSION_FLAGS="-cJvf"