-
Notifications
You must be signed in to change notification settings - Fork 5
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 releases with knope #127
Conversation
I have to install some new tool, and this is gonna stick a bunch of files in a How has the experience been with |
(I feel like there will be an AI tool soon that does all of this without needing any extra human legwork... if it doesn't already exist) |
I find the automation to be very useful. You don't have to install the tool. You can manually create the change set file. If it's a small change, you can use conventional commits: |
If there is another actively maintained and well documented tool that gets us human-readable documentation and automated versioning with less overhead, I'm happy to use it. This is just the workflow I am familiar with. |
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.
As Nate has already mentioned while we have set it up in our dev
branch, we haven't had a proper release with knope yet. So the first changelog will require some manual intervention. But after that it should be smooth sailing.
Imo this is a great compromise since all you need to do is either use a conventional commit or add a file for it to be satisfied and in exchange we get useful changelogs.
Is this a AFAICT, in practice these changelogs will just be a list of the PRs that were merged since the last release. Which, sure, is better than nothing. But you don't need a tool for that. IMO, if you want release notes that are actually pleasant to read, you gotta do it the old-fashioned way: pull up the commit history, identify the most salient changes, and summarize them in a few sentences. I did that for |
That is GitHub's automatically generated change log 🤢 Here are some examples of Knope ones: |
wait. You can just press a button in the GitHub UI to create the .changeset file? ok, that's much more tolerable lol |
This makes PRs slightly more annoying because they will need to have either a documented change set or conventional commits, but this will automate the release process and improve documentation. This is mostly the same setup as
renterd
andhostd
with the addition of tagging the release when the preview PR closes.To add a changeset to a PR:
knope document-change