-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
dev-cmd: add dispatch-build-bottle command #7925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I'm wondering if https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/ could replace (or at least "act consistently to") this? |
196ecfb
to
4de9036
Compare
61ce484
to
be1b0e3
Compare
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
be1b0e3
to
f071b4b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One nit but not a blocker, can be addressed after merge 👍🏻
f071b4b
to
3095fbc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good (assuming it all works as expected)!
|
||
raise FormulaUnspecifiedError if args.named.empty? | ||
|
||
odie "Must specify --macos option" unless args.macos |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't need to be in this PR but it would be useful probably to have a way of triggering this for all macOS versions (if you want to build new bottles for all three versions without a revision
PR job).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can try to do this in the future if there is a demand for that. It will require workflow changes, as we will have to construct a build matrix first, to build on multiple OSes and also create a second job which downloads bottles artifact and then does the upload to Bintray.
Now that I'm thinking about it, I might split the uploading/publishing steps into a second job now (soon), as it can become clearer for people what is going on in the workflow file and it will be easier to maintain.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can try to do this in the future if there is a demand for that.
There is, saw @fxcoudert asking for it the other day 😂.
👍🏻 on everything else, nice work again 👏🏻
brew style
with your changes locally?brew tests
with your changes locally?Companion command for new workflow at
homebrew-core
, introduced in: Homebrew/homebrew-core#57558Name of this command should be changed, cause there is one in
homebrew-linux-dev
, named the same. I just didn't think of a better one yet.