2014-10-26 14:54:36 +00:00
# Brew Test Bot For Core Contributors
2017-01-04 16:16:00 -06:00
2014-10-26 14:54:36 +00:00
If a build has run and passed on `brew test-bot` then it can be used to quickly bottle formulae.
## Bottling
2020-04-11 12:44:39 +10:00
If a pull request is correct and doesn't need any modifications to commit messages or otherwise:
2014-10-26 14:54:36 +00:00
1. Ensure the job has already completed successfully.
2020-04-11 12:44:39 +10:00
2. Run `brew pr-publish 12345` where `12345` is the pull request number (or URL).
2020-06-25 09:56:38 -04:00
- Approving a PR for an existing formula will automatically publish the bottles and close the PR, taking care of this step.
2020-04-11 12:44:39 +10:00
3. Watch the [actions queue ](https://github.com/Homebrew/homebrew-core/actions ) to ensure your job finishes. BrewTestBot will usually notify you of failures with a ping as well.
2014-10-26 14:54:36 +00:00
2020-04-11 12:44:39 +10:00
If a pull request needs changes to the commit messages:
2014-10-26 14:54:36 +00:00
1. Ensure the job has already completed successfully.
2020-04-11 12:44:39 +10:00
2. Run `brew pr-pull 12345` where `12345` is the pull request number (or URL).
3. Amend any relevant commits, then run `git push` to push the commits.