Skip to content

Commit 6ceb90e

Browse files
see if duplicate export GIT_TAG is causing my issue - BTW lesson learned, don’t run any git commands in Travis with sudo
1 parent f9b2c5e commit 6ceb90e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

travis-ci/changefile.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ echo "Second check of remote"
1313
git remote add origin https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
1414
git remote -v
1515
echo "Third Check of Remote After Adding it"
16-
ls -l $TRAVIS_BUILD_DIR/.git/FETCH_HEAD
1716
ls -la $TRAVIS_BUILD_DIR
1817
ls -la $TRAVIS_BUILD_DIR/.git
1918
git fetch origin master
@@ -22,8 +21,8 @@ echo "Check permissions on git HEAD / get dir listing of travis build dir"
2221
git config --global user.email "${GIT_EMAIL}"
2322
git config --global user.name "${GIT_NAME}"
2423
git config --global push.default simple
25-
export GIT_TAG=V2.$YEAR-$MONTH.$TRAVIS_BUILD_NUMBER
26-
msg="Tag Generated from TravisCI for build $TRAVIS_BUILD_NUMBER"
24+
#export GIT_TAG=V2.$YEAR-$MONTH.$TRAVIS_BUILD_NUMBER
25+
#msg="Tag Generated from TravisCI for build $TRAVIS_BUILD_NUMBER"
2726
#echo "$msg" >> $TRAVIS_BUILD_DIR/build.txt
2827
sudo $TRAVIS_BUILD_DIR/travis-ci/modify-globalblacklist.sh
2928
#sudo git add $TRAVIS_BUILD_DIR/globalblacklist.conf

0 commit comments

Comments
 (0)