Skip to content

Commit

Permalink
Fixes #8545: rudder-der merge comment on pr in test mode
Browse files Browse the repository at this point in the history
  • Loading branch information
peckpeck committed Jun 15, 2016
1 parent 34f0646 commit 529c2cf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/rudder-dev/rudder-dev-src
Expand Up @@ -1421,8 +1421,9 @@ def merge_pr(pr_url, strategy=None, automatic=False, test=False):
if version is None:
logfail("**** ERROR: cannot guess version of branch " + pr.base_branch() + " Exiting.")
exit(15)
# comment for the merge
pr.comment("""OK, merging this PR""")
if not test:
# comment for the merge
pr.comment("""OK, merging this PR""")
# regular merge
merge_branch(pr_branch, version, strategy, automatic, pr.repo()+":"+pr.remote_branch(), test)
# upmerge
Expand Down

0 comments on commit 529c2cf

Please sign in to comment.