You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@bahir.apache.org by GitBox <gi...@apache.org> on 2019/02/06 20:58:38 UTC
[GitHub] lukasz-antoniak opened a new pull request #83: [BAHIR-60] Script to
merge pull requests
lukasz-antoniak opened a new pull request #83: [BAHIR-60] Script to merge pull requests
URL: https://github.com/apache/bahir/pull/83
JIRA ticket: https://issues.apache.org/jira/browse/BAHIR-60
Sample output:
```
$ ./merge-pr.sh 3
Commits to be merged:
8b307bd [BAHIR-1] Corner fix
540f478 [BAHIR-1] Important feature
Maybe ask contributor to squash commits.
Continue "as is"? [y/n] y
Close pull request #3? [y/n] y
Commits pushed to origin/master.
Approver JIRA user: root
Approver JIRA password:
Specify assignee of JIRA ticket BAHIR-1 (current: root):
0: root
1: other
Chosen option: 1
Enter JIRA account name: lukasz
Specify fixed release version:
0: 1.0.1
Chosen option: 0
JIRA ticket successfully updated.
```
If you comment out lines pushing changes to remote repository (line 125), clean-up of working directory (line 64), and two REST requests updating JIRA ticket (lines 182-205); you can perform a dry run to make sure the script works well.
Comments welcome. Improvement ideas?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services