We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 564c782 commit c38f85dCopy full SHA for c38f85d
travis-ci/deploy2.sh
@@ -9,9 +9,9 @@ sudo git config --global push.default simple
9
export GIT_TAG=V2.$YEAR-$MONTH.$TRAVIS_BUILD_NUMBER
10
sudo git fetch --tags
11
msg="Tag Generated from TravisCI for build $TRAVIS_BUILD_NUMBER"
12
-if git tag $GIT_TAG -a -m "$msg" 2>/dev/null; then
+if sudo git tag $GIT_TAG -a -m "$msg" 2>/dev/null; then
13
sudo git tag $GIT_TAG -a -m "Tag Generated from TravisCI for build $TRAVIS_BUILD_NUMBER"
14
-sudo git push origin master && git push origin master --tags
+sudo git push origin master && sudo git push origin master --tags
15
ls -aR
16
else echo Tag already exists!; fi
17
0 commit comments