File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ cd $TRAVIS_BUILD_DIR
77git config --global user.email " ${GIT_EMAIL} "
88git config --global user.name " ${GIT_NAME} "
99git config --global push.default simple
10+ git branch
1011# sudo git remote add origin https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
1112# git fetch --tags
1213msg=" Tag $GIT_TAG Generated from TravisCI for build $TRAVIS_BUILD_NUMBER "
@@ -18,7 +19,7 @@ git add $TRAVIS_BUILD_DIR/globalblacklist.conf
1819# git add $TRAVIS_BUILD_DIR/build.txt
1920export GIT_TAG=V2.$YEAR -$MONTH .$TRAVIS_BUILD_NUMBER
2021git tag $GIT_TAG -a -m " Tag $GIT_TAG Generated from TravisCI for build $TRAVIS_BUILD_NUMBER "
21- git commit -am " Update build version file $GIT_TAG with $TRAVIS_BUILD_NUMBER "
22+ # git commit -am "Update build version file $GIT_TAG with $TRAVIS_BUILD_NUMBER"
2223sudo git push origin master && git push origin master --tags
2324# git push https://${GH_TOKEN}@github.com/mitchellkrogza/Travis-CI-Nginx-for-Testing-Nginx-Configuration --all
2425ls -aR
You can’t perform that action at this time.
0 commit comments