mirror of
https://github.com/Dark98/threeSD.git
synced 2026-07-03 16:49:04 +00:00
f0d0552139
Only push 7z files (to reduce confusion) Use tag name when possible
22 lines
389 B
Bash
Executable File
22 lines
389 B
Bash
Executable File
#!/bin/bash -ex
|
|
|
|
. .travis/common/pre-upload.sh
|
|
|
|
# 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"
|
|
|
|
mkdir "$REV_NAME"
|
|
|
|
cp build/bin/threeSD "$REV_NAME"
|
|
|
|
mkdir "$REV_NAME/dist"
|
|
|
|
. .travis/common/post-upload.sh
|