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
Use automation for a changelog and release management #6253
Comments
@JounQin Thanks for the proposal. I have some questions.
stylelint/docs/maintainer-guide/pull-requests.md Lines 27 to 32 in 4772851
stylelint/docs/maintainer-guide/releases.md Lines 7 to 17 in 4772851
If a new tool could reduce the tedious work (e.g. updating the changelog file), that would be great! |
It will.
Sure, we can define our own changelog format while keeping previous history changelog unmodified.
We only need to merge a PR like un-ts/prettier#213 for releasing. |
@JounQin Thanks for the answers. Sounds good to me. 👍🏼 |
We need to consider quality of a changelog before adding any automated tool. Changelog is one of the most important parts of documentation of any open source project. As I consumer of many open source packages, I've seen lots of changelogs. In my experience automated changelogs usually provide not enough information to the user. Or changelog items are confusing and only make sense to package developers. Or include information, which is not needed to the users (for example dev dependencies updates). We need to make sure that our changelog provides only needed information and in a good way. |
Changesets uses user defined changelog, not automated. See also https://github.com/changesets/changesets/blob/main/docs/common-questions.md#common-questions And its content can always be changed before releasing. That's why I love it over |
@JounQin Do you want to add |
Not at all, It's just a smallest feature of changesets, with changesets we're going to maintain CHANGELOG and releasing much easier. I'm sorry my issue content could be confusing here. |
Could you write down what do you want to use How it will change current release flow? It is important for us to understand everything before time is spent on setting up and configuring new tool. |
@hudochenkov OK, let me explain in details.
HDYT? |
Thank you for an explanation! It might be something interesting to explore. Since I didn't only few releases in the past, I would like to hear from people, who did the most releases: @jeddy3 and @ybiquitous. |
changesets
for changelog
@JounQin @hudochenkov Thanks for clearing the details! It seems good to start at a minimum to evaluate the new workflow: We can update If auto-updating |
Let's make it work! Feel free to notice me when the GitHub App ready, and then I'm going to raise a PR to enable it in our workflow. |
There's no harm in evaluating a new workflow. Considering we need to be in the terminal for the stylelint-demo and stylelint.io updates anyway, it may prove troublesome to have a different means for releasing Stylelint (and I assume the official configs, and possible all the other packages in the Stylelint org?). @ybiquitous If you're in favour of evaluating of this workflow then I'm happy to give it ago as you've been doing lots of the releases recently. |
@jeddy3 Thanks for the feedback. First, I'll try only the changelog automation. Then, if it doesn't fit, let's revert it. @JounQin I've installed changeset-bot. Could you please open a pull request if you have time? |
@ybiquitous I'll raise a PR ASAP. |
14.12.0 is the first version using the changelog generation! We evaluate that it is easier to update the changelog than before. But, we encounter a small problem with GitHub Releases. For details, see #6343 (comment) |
It seems we can now evaluate the new changelog automation workflow. What do you think? If no objections, we should update the following parts in the maintainer guide: stylelint/docs/maintainer-guide/pull-requests.md Lines 27 to 32 in e3421aa
stylelint/docs/maintainer-guide/releases.md Lines 8 to 12 in e3421aa
|
Do we want |
@JounQin Please let me ask a few questions.
|
|
@JounQin Thanks for the answer.
Regarding this, it seems possible to prevent generating a GitHub release via the It sounds good to me to publish on CI for easier workflow, but perhaps it may be tough to recover if a publishing CI job would fail. As of now, we don't have a problem with continuing to use |
Glad to hear
I'm not sure to understand this part, if the CI job fails, we can just retry it and when the npm version is not published,
Sure, I also don't have a strong opinion on this neither, it just could be a bit redundant to have two release tools while |
I'm worried about a situation where tagging is successful but publishing is failed. In such a case, it seems harder to recover than manually releasing. Although, it should be rare. |
The order is releasing npm version first, then tag and GitHub release, so I don't think the case would be possible. And also, create/delete a tag/release on GitHub UI is very easy. |
I think we should keep it as-is as:
|
That makes sense. I have no objections. 👍🏼 |
Describe the documentation issue
With https://github.com/changesets/changesets/tree/main/packages/changelog-github, we'll have
thanks
mentions for contributors in our changelog and releases.What solution would you like to see?
Enable
changesets
Alternative, manage
thanks
mentions manually.The text was updated successfully, but these errors were encountered: