-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
consider release-please to improve release process #2286
Comments
Maybe, I'm not totally opposed to it. What we're doing now doesn't scale very well because it's basically coming down to me managing the releases. But the install base of node-gyp is very large. 6M weekly downloads. And it's in critical path in CI systems for a very large number of installs. So we have security and stability concerns that should give us pause. And this is all outside of npm where they at least have some stability gating when pulling node-gyp in. So my concern would be the ease with which releases can be made and pushed into people's production pipelines. The write-access on this repo is fairly broad right now because we can gate releases with npm write access. |
GitHub Actions now have environment protection rules and environment secrets: https://github.blog/changelog/2020-12-15-github-actions-environments-environment-protection-rules-and-environment-secrets-beta/ |
Maybe only use it for changelog generate and release PR. remove npm publish step from the workflow. |
yes, I was thinking that this might be a good way to get started, gate publish on a human for now and see how we go. I'd be ok with exploring this switch, it'll help with getting things merged and maintaining a changelog, but we're all going to have to be educated in the commit message pattern (I'm not quite there yet but have been trying to adopt it in other projects). We're clearly not scaling by sticking with the clean merge patterns and metadata of nodejs/node. |
@rvagg here is [read: I wrote] a similar thing to It is a GitHub Actions workflow that automatically opens a pull request with an updated The PR updates each time It's still kind of messy, and the script is unnecessarily long, but that could be improved. (I was hoping to know if this approach is interesting to maintainers here before going all-out polishing it up.) It works for me, example PR: DeeDeeG#3 P.S.: One shortcoming of this approach (unlike P.P.S.: I'm pretty sure I could resolve the remaining issues with #2330/ |
One of the problems we have now is that the metadata requirements of the nodejs/node style is too onerous for other people to interact with unless they're experienced in nodejs/node landing or could use
|
Silly question, what metadata do we rely on now? |
|
I made On the other hand, I'm still working on a clean switch to |
After playing with it for a bit, I'm clearer on how to deploy Technically, all that was needed was using the same markdown header levels for past releases as the ones I'm working on some documentation on using the new "Conventional Commit" commit prefixes correctly, and other finer details of (If wanting to proceed as fast as possible, the commit to fix the Changelog formatting (DeeDeeG@cd09b65), plus #2330, would do it.) |
Documentation/notes about
|
https://github.com/google-github-actions/release-please-action It's has been using in
gyp-next
and works pretty great so far as I observed (https://github.com/nodejs/gyp-next/blob/master/.github/workflows/release-please.yml).
Maybe it's also good here too.
@rvagg What do you think ?
cc @targos @richardlau
The text was updated successfully, but these errors were encountered: