File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,10 @@ MONTH=$(date +"%m")
44cd $TRAVIS_BUILD_DIR
55# sudo whoami
66# sudo chown root:root -R $TRAVIS_BUILD_DIR
7- # sudo git remote -v
8- # sudo git remote rm origin
7+ sudo git remote -v
8+ sudo git remote rm origin
9+ sudo git remote -v
10+ sudo git remote add origin https://${GH_TOKEN} @github.com/${TRAVIS_REPO_SLUG} .git
911sudo git config --global user.email " ${GIT_EMAIL} "
1012sudo git config --global user.name " ${GIT_NAME} "
1113sudo git config --global push.default simple
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ cd $TRAVIS_BUILD_DIR
55sudo git config --global user.email " ${GIT_EMAIL} "
66sudo git config --global user.name " ${GIT_NAME} "
77sudo git config --global push.default simple
8- # sudo git remote add origin https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
8+ sudo git remote add origin https://${GH_TOKEN} @github.com/${TRAVIS_REPO_SLUG} .git
99export GIT_TAG=V2.$YEAR -$MONTH .$TRAVIS_BUILD_NUMBER
1010sudo git fetch --tags
1111msg=" Tag Generated from TravisCI for build $TRAVIS_BUILD_NUMBER "
You can’t perform that action at this time.
0 commit comments