-
Notifications
You must be signed in to change notification settings - Fork 456
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
Automate Release Process #656
Comments
Looking deeper into Semantic release it looks like having one branch for pre-releases and one for releases would be the best supported use-cases. Releasing would mean that we do a PR between the pre-release branch and the main branch. |
Another way would be using the exec plugin with a |
Using the full version of Semantic release definitely seems to push towards multiple branches. That seems like it will make sense once there is a 1.0 release (or Terraform type releases), but probably isn't the best right now. |
Pretty much what @jsteinich said - this will make sense when approaching 1.0 - Right now I'd keep the workflow rather simple. I think the biggest pain is really the release notes / changelog generation. |
Perhaps we should really just focus on the changelog for now. e.g. there's https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-cli - however, didn't get to consider merge commits only. Anyone has other tooling ideas to generate changelogs? |
There's a tool by Atlassian for changeset management: https://github.com/atlassian/changesets. |
I stumbled upon another option: If we use semantic release beta releases on master we could do the real releases in a github action that does not automatically run, but is triggered manually by us. This way we have control over minor releases and automatic beta releases |
What we're primary looking is two things:
The rest is taken care of by |
It does, you can run release tools through a plugin
Sebastian Korfmann ***@***.***> schrieb am Mo. 31. Mai 2021
um 10:46:
I stumbled upon another option: If we use semantic release beta releases
on master we could do the real releases in a github action that does not
automatically run, but is triggered manually by us. This way we have
control over minor releases and automatic beta releases
What we're primary looking is two things:
1. Generating a Changelog
2. Bumping the version
The rest is taken care of by jsii-release already. If that fits in the
workflow of semantic release that's worth a try.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#656 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKGNVWIHZHYIHQ7XZKFWZDTQNEFLANCNFSM43KPS5DQ>
.
--
Daniel Schmidthe/him
Senior Software Engineer - CDK Team
e ***@***.***
tz Europe / Berlin (CEST)
<http://www.google.com/search?q=current+time+Europe%2FBerlin>
------------------------------
<https://www.hashicorp.com/>
|
This is solved by #1257 together with the changelog creation script we have in place |
I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Community Note
Description
We should have an automated process to create PRs for a new release. Let's use https://github.com/semantic-release/semantic-release or something similar and use conventional titles for PRs which can be enforced with an GH Action like this
The workflow I'm imagining:
main
will trigger a pre-release (see Package Pre Release Versioning #561 as well) - no changes required as part of this issueFor the PR validation, a config like this should work (inspired by this):
The text was updated successfully, but these errors were encountered: