1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-05 22:50:23 +00:00
QB64-PE/.travis/push.sh

15 lines
505 B
Bash
Raw Normal View History

2016-11-09 04:23:02 +00:00
#!/bin/sh
2018-11-01 14:20:48 +00:00
if [ "$TRAVIS_OS_NAME" != "linux" ]; then exit; fi
2016-11-09 04:23:02 +00:00
if [ "${UPDATE_REPO}" != "yes" ]; then exit; fi
git config --global user.email "flukiluke@gmail.com"
git config --global user.name "Autobuild process"
2018-11-01 14:20:48 +00:00
git clone --depth=1 --branch=$TRAVIS_BRANCH https://${GH_TOKEN}@github.com/Galleondragon/qb64.git homeqb64
2018-11-01 14:01:09 +00:00
cd homeqb64
rm -r internal/source
cp -r ../internal/source internal/source
git add --all internal/source
2016-11-09 04:23:02 +00:00
git commit --message "Autobuild update [ci skip]"
2018-11-01 14:01:09 +00:00
git push
cd ..
rm -rf homeqb64