1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-02 03:50:36 +00:00

Don't restrict deployment to just master

This commit is contained in:
Luke Ceddia 2018-01-11 21:39:41 +11:00
parent 0dbd7e03d2
commit 6c054501b6
2 changed files with 3 additions and 3 deletions

View file

@ -63,7 +63,7 @@ fi
cd ../../
rm qb64_testrun
echo "Done"
if [ "$TRAVIS_PULL_REQUEST" != "false" -o "$TRAVIS_BRANCH" != "master" ]; then exit; fi
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then exit; fi
###### Part 3: Establish new bootstrapee ######
rm internal/source/*

View file

@ -4,7 +4,7 @@
# mainversion=`awk '$1=="Version$" {split($3, A, /\"/);print A[2];}' < source/global/version.bas`
# buildnum=`awk '$1=="BuildNum$" {split($3,A, /[\"\/]/); print A[3];}' < source/global/version.bas`
TZ=UTC now=`date +"%F-%H-%M-%S"`
filebase="/tmp/qb64_${now}_`echo ${TRAVIS_COMMIT} | sed 's/\(.......\).*$/\1/'`"
filebase="/tmp/qb64_${now}_`echo ${TRAVIS_COMMIT} | sed 's/\(.......\).*$/\1/'`-${TRAVIS_BRANCH}"
rm -r .dpl
cd ..
@ -13,6 +13,6 @@ tar --create --auto-compress --file ${filebase}_lnx.tar.gz --exclude-from=qb64/.
7z a -xr@qb64/.travis/common-exclusion.list -xr@qb64/.travis/win-exclusion.list ${filebase}_win.7z qb64/ > /dev/null
# Send to server
scp ${filebase}_* m6rosupy1q2t@qb64.org:autobuilds/
scp ${filebase}_* m6rosupy1q2t@qb64.org:autobuilds/${TRAVIS_BRANCH}/