File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ version: 2.1
33orbs :
44 # dev version needs to be manually deployed to accurately test commit changes.
55 # Once deployed, update <alpha> to reflect the version deployed.
6- ghpr : narrativescience/ghpr@dev:1.1.4
6+ ghpr : narrativescience/ghpr@dev:1.1.5
77
88commands :
99 pack-validate :
Original file line number Diff line number Diff line change @@ -24,8 +24,12 @@ steps:
2424 git config --global user.name "$GITHUB_USERNAME"
2525 # Merge the branch with no commit and then create a custom commit message contianing the original commit message.
2626 git fetch && git merge "origin/$GITHUB_PR_BASE_BRANCH" --no-commit
27- git commit -am "Merging ${GITHUB_PR_BASE_BRANCH} into ${CIRCLE_BRANCH}. ${GITHUB_PR_COMMIT_MESSAGE}"
2827 if [[ $? -ne 0 && << parameters.force >> == false ]]; then
2928 echo "Failed to merge $GITHUB_PR_BASE_BRANCH into $CIRCLE_BRANCH"
3029 exit 1
3130 fi
31+ git commit -am "Merging ${GITHUB_PR_BASE_BRANCH} into ${CIRCLE_BRANCH}. ${GITHUB_PR_COMMIT_MESSAGE}"
32+ if [[ $? -ne 0 ]]; then
33+ echo "Commmit failed... nothing to commit...Continue anyway."
34+ exit 0
35+ fi
You can’t perform that action at this time.
0 commit comments