-
Notifications
You must be signed in to change notification settings - Fork 24
ci: implement release-please to automate release creation #863
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
henningmu
left a comment
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.
Thank you for doing this, Rui 👏
Can you please add the action that enforces semantic PR titles to this PR (copy from todoist-web)?
Do you think we should mention that releases / versioning is done based on semantic commits (PR titles) in the PULL_REQUEST_TEMPLATE?
Absolutely. Just did.
Same 🙂 Can you please review again? |
henningmu
left a comment
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 great 👏
Left some minor comments, but I don't need to see this again 🙌
This is a blatant copy of Doist/reactist#863, hence my targeted review request for Rui. I guess I now have to configure the secrets (`GITHUB_TOKEN` and `NPM_TOKEN`), which I'm not sure where to get from.⚠️ **Also, please know that this repository may eventually be public, so avoid discussing anything sensitive here.** Is this all it takes? Will this work out-of-the-box after that is configured and this gets merged? Or is there something else to be done? ~~For instance, if I merge this before #5, and then I merge that PR, will that trigger the v0.2.0 release? _(Because it's a `feat` I assume it will increase in that way, but I'm not sure about semver on v0.x which behaves differently; but you get my point.)_~~ I forgot that I merged #5 beforehand, so now I do not have a pull request with which to test this. But I still need to get the changes in #5 released. What do you think I should do? Release those changes first manually?

Short description
This PR implements automated releases using Google's release-please GitHub Action. Automating version bumping, changelog management, and release creation will streamline our release process.
Before:
After:
Migration Note
Existing CHANGELOG.md content should be preserved. Release-please manages new entries while maintaining the historical changelog. But this needs to be validated further in the first release PR.
Changes
How it works
feat:,fix:, etc.)main, release-please:PR Checklist