Skip to content

Commit cfdc7a2

Browse files
check git diff origin/master
1 parent 7d2cc8c commit cfdc7a2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

travis-ci/deploy2.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ cd $TRAVIS_BUILD_DIR
77
git config --global user.email "${GIT_EMAIL}"
88
git config --global user.name "${GIT_NAME}"
99
git config --global push.default simple
10+
git fetch origin master
11+
git diff origin/master
1012
#git branch
1113
#git checkout $TRAVIS_BRANCH
1214
#git branch
@@ -20,7 +22,7 @@ git add $TRAVIS_BUILD_DIR/globalblacklist.conf
2022
#git add .
2123
#git add $TRAVIS_BUILD_DIR/build.txt
2224
export GIT_TAG=V2.$YEAR-$MONTH.$TRAVIS_BUILD_NUMBER
23-
git tag detached-commit -f
25+
#git tag detached-commit -f
2426
git tag $GIT_TAG -a -m "Tag $GIT_TAG Generated from TravisCI for build $TRAVIS_BUILD_NUMBER"
2527
#git commit -am "Update build version file $GIT_TAG with $TRAVIS_BUILD_NUMBER"
2628
sudo git push origin master && git push origin master --tags

0 commit comments

Comments
 (0)