-
Notifications
You must be signed in to change notification settings - Fork 83
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
Chore: update release flow to use release PRs #285
Comments
Some more context. If we find the action too limiting we could write a script/our own action/fork the existing action and extend it. |
We could also use the same approach as in: To make sure people generate the go client when submitting a PR. |
So, I've been looking into how this is tied together and I decided to break this issue into a couple of separate pieces of work, let me know what you think 😄 As it is right now, the versioning of the So when releasing we need to make sure a couple of things happen (not really in a particular order):
Worth noting that currently the published docs - https://open-api.netlify.com/#/default - result from whatever is in master I believe. There's a potential scenario where master is ahead of what has been release, effectively meaning the version on the Finally, another thing to consider is that commits resulting from PR merges should now follow the conventional commit spec - https://www.conventionalcommits.org/en/v1.0.0/ - for |
Thanks for working on this! More streamlined release flow would be wonderful to have and this is great.
I'm somewhat in favor of Erez's approach of having verify step on every PR to check. Feels like that's what should happen, if the change to swagger.yml is made with that PR, that PR should be the one who is doing the re-generation of go clients.
Your understanding is correct. I think it's okay to leave it as is for now, but I'd say that this is something we would like to revisit with the open-api updating project. "build only on tags" is something we can tweak in Netlify side, with things like build plugins or maybe we can even do with ignore build command (to ignore the builds unless it's tag? maybe?) I think. |
the release-please workflow only updates a tracking PR with all the changes that have been made since the last release. |
would be cool if we could work with locked deploys and update the published deploy to the right one for the tagged commit once we publish |
Created #295 to cover commit msg linting so I think we're good to close this one 👍 feel free to re-open it if you feel like something is missing. |
Our current release flow requires pushing directly to the default branch:
https://github.com/netlify/open-api/blob/master/CONTRIBUTING.md#making-a-new-release
We're in the process of migrating to release-please and should do the same for this repo.
See here and here.
The blocker for this issue is that we need to find a way to generate the go client (or avoid pushing auto generated files to the repo) during the process of creating the release PR.
The text was updated successfully, but these errors were encountered: