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
7
7
git config --global user.email " ${GIT_EMAIL} "
8
8
git config --global user.name " ${GIT_NAME} "
9
9
git config --global push.default simple
10
+ git branch
10
11
# sudo git remote add origin https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
11
12
# git fetch --tags
12
13
msg=" Tag $GIT_TAG Generated from TravisCI for build $TRAVIS_BUILD_NUMBER "
@@ -18,7 +19,7 @@ git add $TRAVIS_BUILD_DIR/globalblacklist.conf
18
19
# git add $TRAVIS_BUILD_DIR/build.txt
19
20
export GIT_TAG=V2.$YEAR -$MONTH .$TRAVIS_BUILD_NUMBER
20
21
git 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"
22
23
sudo git push origin master && git push origin master --tags
23
24
# git push https://${GH_TOKEN}@github.com/mitchellkrogza/Travis-CI-Nginx-for-Testing-Nginx-Configuration --all
24
25
ls -aR
You can’t perform that action at this time.
0 commit comments