feat: add changelog auto-generation#207
Conversation
|
Umm, sorry about not looking at it sooner. Looks good to me. What I don't understand is why it requires token. How will Github workflow get the token? Obv we can't make it part of the repository itself, as its supposed to be private (the token gives access to all private repos as well). |
|
It appears there is |
|
Oh, you're right. But let separate two different issues:
If we aren't ready or don't want to do that right now, we can get rid of that github action and write changelogs manually (or don't write them at all) and use tags for releases. I'm not sure which option is better. @vishesh what do you think? |
|
I'm just gonna let this PR sit around for some time, until we can get to thinking a bit more about it. Apart from the points you mentioned, another problem is that none of us are following any specific commit guidelines (log message conventions, squashing commits, when to do releases etc...). I totally would love to have all that, along with proper processes, but once we have some pace and features/fixes in. But if everyone else feels strongly about having this sooner, we can get this in. |
|
I think we can add this automation later when we'll be ready. It's not a problem at all |
Here a GH action config for changelog generation. It'll help to create release notes for every pushed tag (here you can see how it works https://github.com/github-tools/github-release-notes/releases).
And by changing a source of the racketscript package here https://pkgs.racket-lang.org/package/racketscript from this pattern
https://github.com/‹user›/‹package›.gitto this onehttps://github.com/‹user›/‹package›.git#tag(see "GitHub Deployment" here https://docs.racket-lang.org/pkg/getting-started.html#%28part._github-deploy%29) we'll allow to install a particular version of racketscript.Resolves: https://github.com/vishesh/racketscript/issues/193
But to make it work @vishesh should create CHANGELOG_TOKEN (see https://github.com/github-tools/github-release-notes#setup) and change the source path of the package.