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}"
8
8
git config --global user.name " ${GIT_NAME} "
9
9
git config --global push.default simple
10
10
# sudo git remote add origin https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
11
- export GIT_TAG=V2.$YEAR -$MONTH .$TRAVIS_BUILD_NUMBER
12
11
git fetch --tags
13
12
msg=" Tag $GIT_TAG Generated from TravisCI for build $TRAVIS_BUILD_NUMBER "
14
13
# 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
17
16
git add $TRAVIS_BUILD_DIR /globalblacklist.conf
18
17
# git add .
19
18
# git add $TRAVIS_BUILD_DIR/build.txt
19
+ export GIT_TAG=V2.$YEAR -$MONTH .$TRAVIS_BUILD_NUMBER
20
20
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
- # 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
24
24
ls -aR
25
25
# cat $TRAVIS_BUILD_DIR/globalblacklist.conf
26
26
# ls -la $TRAVIS_BUILD_DIR
You can’t perform that action at this time.
0 commit comments