Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow specifying rebuild branch #176

Merged
merged 2 commits into from
Jun 16, 2020
Merged

Allow specifying rebuild branch #176

merged 2 commits into from
Jun 16, 2020

Conversation

christopher-dG
Copy link
Contributor

This changes the syntax from !rebuild folder/file to !rebuild file=folder/file with an option branch=name.
So in a PR asking to merge changes to the tutorial introduction/tutorial.jmd from the branch rebuild/abc123, you would comment on the PR:

!rebuild file=introduction/tutorial.jmd branch=rebuild/abc123

And the PR would be updated in-place.

Also fixes a bit of fragility in the comment parsing when the comment contains a single quote, as well as adding the ability to just comment !rebuild to trigger a new random build.

@ChrisRackauckas ChrisRackauckas merged commit dbd8c76 into master Jun 16, 2020
@ChrisRackauckas ChrisRackauckas deleted the cdg/rebuild-branch branch June 16, 2020 12:50
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants