File tree Expand file tree Collapse file tree 1 file changed +10
-14
lines changed Expand file tree Collapse file tree 1 file changed +10
-14
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
3+ PROJECT_LOCKFILE=${PROJECT_LOCKFILE:- " package-lock.json" }
4+
35# if [[ $TRAVIS_PULL_REQUEST_BRANCH != *"greenkeeper"* ]]; then
46# exit 0
57# fi
68
7- # if ! git diff-index --quiet HEAD --; then
8- git config --global user.email " $GITHUB_EMAIL "
9- git config --global user.name " Circle CI "
10- git config --global push.default simple
11- # git remote add jenkins https://"$GITHUB_TOKEN"@github.com/"$TRAVIS_REPO_SLUG".git
9+ echo " " >> $PROJECT_LOCKFILE
10+ # if ! git diff-index --quiet HEAD $PROJECT_LOCKFILE --; then
11+ # git config user.email "$GITHUB_EMAIL "
12+ # git config user.name "Circle CI"
13+ # git config push.default simple
1214
13- git add package-lock.json
14- git commit -m " chore(*): update lockfile [ci skip]"
15- LAST_COMMIT=` git rev-parse HEAD`
16- echo " Test me"
17- printenv
18- echo $LAST_COMMIT
19- git status
20- # git push origin $LAST_COMMIT:$TRAVIS_PULL_REQUEST_BRANCH
21- # git remote rm jenkins
15+ git add $PROJECT_LOCKFILE
16+ git commit -m " chore(*): update lockfile [ci skip]" -m " See: $CIRCLE_BUILD_URL " --author=" $GITHUB_AUTHOR "
17+ git push origin $CIRCLE_BRANCH
2218# fi
You can’t perform that action at this time.
0 commit comments