1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-08 11:25:14 +00:00
qb64/.travis/push.sh
2020-01-08 12:08:18 -03:00

15 lines
505 B
Bash

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