File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ git remote rm origin
77# Add Remote with Secure Key
88git remote add origin https://${GH_TOKEN} @github.com/${TRAVIS_REPO_SLUG} .git
99# List Remotes ONLY DURING testing - do not do this on live repo / possible key leak
10- git remote -v
10+ # git remote -v
1111# ls -la $TRAVIS_BUILD_DIR
1212# ls -la $TRAVIS_BUILD_DIR/.git
1313# git fetch origin master
Original file line number Diff line number Diff line change @@ -8,24 +8,24 @@ cd $TRAVIS_BUILD_DIR
88# git config --global user.email "${GIT_EMAIL}"
99# git config --global user.name "${GIT_NAME}"
1010# git config --global push.default simple
11- git status
11+ # git status
1212# git fetch origin master
1313# git diff origin/master
1414# git branch
1515# git checkout $TRAVIS_BRANCH
1616# git branch
1717# sudo git remote add origin https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
1818# git fetch --tags
19- msg=" Tag $GIT_TAG Generated from TravisCI for build $TRAVIS_BUILD_NUMBER "
19+ # msg="Tag $GIT_TAG Generated from TravisCI for build $TRAVIS_BUILD_NUMBER"
2020# if git tag $GIT_TAG -a -m "$msg" 2>/dev/null; then
2121# sudo $TRAVIS_BUILD_DIR/travis-ci/modify-globalblacklist.sh
2222# sudo chown travis:travis $TRAVIS_BUILD_DIR/globalblacklist.conf
2323# git add $TRAVIS_BUILD_DIR/globalblacklist.conf
2424# git add .
2525# git add $TRAVIS_BUILD_DIR/build.txt
26- export GIT_TAG=V2 .$YEAR -$MONTH .$TRAVIS_BUILD_NUMBER
26+ export GIT_TAG=V3 .$YEAR -$MONTH .$TRAVIS_BUILD_NUMBER
2727# git tag detached-commit -f
28- git tag $GIT_TAG -a -m " Tag $GIT_TAG Generated from TravisCI for build $TRAVIS_BUILD_NUMBER "
28+ git tag $GIT_TAG -a -m " V3. $YEAR . $MONTH . $TRAVIS_BUILD_NUMBER "
2929# git commit -am "Update build version file $GIT_TAG with $TRAVIS_BUILD_NUMBER"
3030sudo git push origin master && git push origin master --tags
3131# git push https://${GH_TOKEN}@github.com/mitchellkrogza/Travis-CI-Nginx-for-Testing-Nginx-Configuration --all
You can’t perform that action at this time.
0 commit comments