Skip to content

Commit 690f595

Browse files
committed
chore(*): steestsdf
1 parent 96b5e23 commit 690f595

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

ci/commit-lockfile.sh

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,17 @@
11
#!/bin/bash
22

3-
echo "What is going on ?"
4-
5-
git status
6-
ls -lah
7-
83
if [[ $TRAVIS_PULL_REQUEST_BRANCH != *"greenkeeper"* ]]; then
94
exit 0
105
fi
116

127
if ! git diff-index --quiet HEAD --; then
13-
echo "Commit and push lockfile"
14-
git status
15-
ls -lah
16-
17-
# git checkout $TRAVIS_PULL_REQUEST_BRANCH
188
git config --global user.email "$GITHUB_EMAIL"
199
git config --global user.name "Travis CI"
2010
git config --global push.default simple
2111

2212
git add package-lock.json
2313
git commit -m "chore(*): update lockfile"
2414
LAST_COMMIT=`git rev-parse HEAD`
15+
git remote
2516
git push origin $LAST_COMMIT:$TRAVIS_PULL_REQUEST_BRANCH
2617
fi

0 commit comments

Comments
 (0)