-
Notifications
You must be signed in to change notification settings - Fork 69
Release Automation #312
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
Comments
We could consider a process like https://github.com/googleapis/release-please which was developed by the people behind conventional commits and is currently being used at Google to automate releases for hundreds of API client libraries across many languages. (Full disclosure: my day job is on that team.) The basic idea is to
|
this workflow looks really nice. the only problem I can see is the 2FA for npm. in the release-please docs, https://github.com/googleapis/release-please#automating-publication-to-npm , it says to "keep 2FA enable, point the the registry url to your own wombat dressing room". So in order to use that, we would need to have that running and hosted somewhere. |
As discussed on Slack, let's go ahead and try to get |
I started to play around with adding release-please to my fork. For the most part, I like what it is doing, and it does all the things we are looking to automate, but there are a couple things that I think we need to fix before we can add it .
edit: I was using a old version and the latest version of the action works fine with main The second is that in our package.json, we have rules setup for standard-release that unhide certain commit message types, so they show in the changelog. It doesn't look like at the moment this can be done with release-please. We also need to make sure we are signing the release PR, which we could do manually once it is approved, but that would defeat the purpose of using automation. I'll see if I can add these things in and either send a PR, or create our own fork of it. |
Thanks for looking into this @lholmquist. I poked around the source for the project and found some things that might help.
It looks like you can add a
You might try extracting the |
I was using an old version, since i copy/pasted, latest version is fine now |
Just catching up on this thread, I wanted to share this with you: https://github.com/GoogleCloudPlatform/release-please-action It's a GitHub action that runs release-please, here it is in action. The main reason I opt for the GitHub app, rather than the action, for Google projects is related to CLA. |
@bcoe thanks, that's actually the action text that i ended up copying and running into the master/main issue |
@bcoe something I wanted to ask. Is it possible to have the release-please action use a standard-release config to show more types in the changelog? I've tried to add a .versionrc.json with something like this:
but i don't think it is recognizing it. It is also completely possible, I've written the config file incorrectly |
@lholmquist it's not today, but I'd be happy to add this functionality. If you get a moment, perhaps log a feature request? It's my goal that |
@bcoe sorry for the reply delay, i was on PTO. I can send a PR soon. I have something working on my fork. It looks like it needs to be updated in 2 spots. The GH action and the underlying release-please module |
awesome, thank you @lholmquist that will be a great feature. |
@bcoe not sure if you are part of the group that does the release please GH action, but i also sent a PR there to use the updated release-please functionality that i added, googleapis/release-please-action#64 |
@lholmquist I have released |
Currently, as outlined in the Release guidelines docs, it is a manual process.
This issue is to be used to start to brainstorm ideas on how to make our release process more automated and less manual.
Some steps that need to be included:
I'm sure there are more, but that is what the issue is about, coming up with a procedure as a community
The text was updated successfully, but these errors were encountered: