We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d2cc8c commit cfdc7a2Copy full SHA for cfdc7a2
1 file changed
travis-ci/deploy2.sh
@@ -7,6 +7,8 @@ cd $TRAVIS_BUILD_DIR
7
git config --global user.email "${GIT_EMAIL}"
8
git config --global user.name "${GIT_NAME}"
9
git config --global push.default simple
10
+git fetch origin master
11
+git diff origin/master
12
#git branch
13
#git checkout $TRAVIS_BRANCH
14
@@ -20,7 +22,7 @@ git add $TRAVIS_BUILD_DIR/globalblacklist.conf
20
22
#git add .
21
23
#git add $TRAVIS_BUILD_DIR/build.txt
24
export GIT_TAG=V2.$YEAR-$MONTH.$TRAVIS_BUILD_NUMBER
-git tag detached-commit -f
25
+#git tag detached-commit -f
26
git tag $GIT_TAG -a -m "Tag $GIT_TAG Generated from TravisCI for build $TRAVIS_BUILD_NUMBER"
27
#git commit -am "Update build version file $GIT_TAG with $TRAVIS_BUILD_NUMBER"
28
sudo git push origin master && git push origin master --tags
0 commit comments