Skip to content

Commit 94f2a89

Browse files
cd to $TRAVIS_BUILD_DIR before running git commands
1 parent 516fbf4 commit 94f2a89

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

travis-ci/changefile.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/bash
22
YEAR=$(date +"%Y")
33
MONTH=$(date +"%m")
4+
cd $TRAVIS_BUILD_DIR
45
sudo git remote -v
56
sudo git remote rm origin
67
sudo git config --global user.email "${GIT_EMAIL}"

travis-ci/deploy2.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/bash
22
YEAR=$(date +"%Y")
33
MONTH=$(date +"%m")
4+
cd $TRAVIS_BUILD_DIR
45
sudo git config --global user.email "${GIT_EMAIL}"
56
sudo git config --global user.name "${GIT_NAME}"
67
sudo git config --global push.default simple

0 commit comments

Comments
 (0)