Moved definition of origin
This commit is contained in:
@@ -11,6 +11,7 @@ git config credential.helper "store --file=.git/credentials"
|
|||||||
echo "https://${GH_TOKEN}:@github.com" > .git/credentials
|
echo "https://${GH_TOKEN}:@github.com" > .git/credentials
|
||||||
git config --global user.name $GH_USER
|
git config --global user.name $GH_USER
|
||||||
git config --global user.email $GH_EMAIL
|
git config --global user.email $GH_EMAIL
|
||||||
|
git remote set-url origin "https://${GH_TOKEN}@github.com/WagicProject/wagic.git"
|
||||||
|
|
||||||
## Delete remote Travis-Mac branch (if any)
|
## Delete remote Travis-Mac branch (if any)
|
||||||
export REMOTE=$(git branch -r | grep "origin/$TRAVIS_MAC_BRANCH\$")
|
export REMOTE=$(git branch -r | grep "origin/$TRAVIS_MAC_BRANCH\$")
|
||||||
@@ -29,6 +30,5 @@ cp tools/macos.travis.yml .travis.yml
|
|||||||
git add .travis.yml
|
git add .travis.yml
|
||||||
git rm appveyor.yml
|
git rm appveyor.yml
|
||||||
git commit -m "Auto-Updated Travis-CI configuration for Mac"
|
git commit -m "Auto-Updated Travis-CI configuration for Mac"
|
||||||
git remote set-url origin "https://${GH_TOKEN}@github.com/WagicProject/wagic.git"
|
|
||||||
## Push new branch to remote server
|
## Push new branch to remote server
|
||||||
git push -q origin $TRAVIS_MAC_BRANCH:$TRAVIS_MAC_BRANCH
|
git push -q origin $TRAVIS_MAC_BRANCH:$TRAVIS_MAC_BRANCH
|
||||||
|
|||||||
Reference in New Issue
Block a user