File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ git config --global user.email "${GIT_EMAIL}"
88git config --global user.name " ${GIT_NAME} "
99git config --global push.default simple
1010# sudo git remote add origin https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
11- export GIT_TAG=V2.$YEAR -$MONTH .$TRAVIS_BUILD_NUMBER
1211git fetch --tags
1312msg=" Tag $GIT_TAG Generated from TravisCI for build $TRAVIS_BUILD_NUMBER "
1413# if git tag $GIT_TAG -a -m "$msg" 2>/dev/null; then
@@ -17,10 +16,11 @@ sudo chown travis:travis $TRAVIS_BUILD_DIR/globalblacklist.conf
1716git add $TRAVIS_BUILD_DIR /globalblacklist.conf
1817# git add .
1918# git add $TRAVIS_BUILD_DIR/build.txt
19+ export GIT_TAG=V2.$YEAR -$MONTH .$TRAVIS_BUILD_NUMBER
2020git 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- # sudo git push origin master -f && git push origin master --tags -f
23- git push https://${GH_TOKEN} @github.com/mitchellkrogza/Travis-CI-Nginx-for-Testing-Nginx-Configuration --all
21+ # git commit -am "Update build version file $GIT_TAG with $TRAVIS_BUILD_NUMBER"
22+ sudo git push origin master && git push origin master --tags
23+ # git push https://${GH_TOKEN}@github.com/mitchellkrogza/Travis-CI-Nginx-for-Testing-Nginx-Configuration --all
2424ls -aR
2525# cat $TRAVIS_BUILD_DIR/globalblacklist.conf
2626# ls -la $TRAVIS_BUILD_DIR
You can’t perform that action at this time.
0 commit comments