Replies: 20 comments 6 replies
-
I'd love this! |
Beta Was this translation helpful? Give feedback.
-
changelogFor the changelog, I typically add append a link to the commit compare from last version to the new version into the new version section. Example: GitHub releaseFor the GitHub release, I'm thinking a good result would be to have its text point to the specific release anchor in the changelog. Example:
As to where to create the GitHub release tag, options:
I think option 2 is more convenient. I'll play around on a muckabout project I use for this kind of thing. |
Beta Was this translation helpful? Give feedback.
-
Also: are we married to CircleCI here? |
Beta Was this translation helpful? Give feedback.
-
I'm not married to it, but I also don't see why we would change things significantly. cc @slipset |
Beta Was this translation helpful? Give feedback.
-
Not married to, but engaged :) There has been a significant gpg and yaml wrangling that's been done to get the release stuff going. I'd not be very motivated for fixing another setup, so if it ain't borked, bork it! |
Beta Was this translation helpful? Give feedback.
-
Ah yes, GPG stuff... Ok, if we want to preserve that, let's stick with CircleCI. And @borkdude, you are an 😇 and an 😈. On that CI YAML wrangling front, @slipset did you notice #40 and #46? Seems good to me, but maybe you have other opinions? I'll take full responsibility for fixing anything I bork in this area. |
Beta Was this translation helpful? Give feedback.
-
@lread We could just have both CIs. This is what I do for bb too, in fact, I'm using Circle, Actions, AppVeyor and Cirrus CI there. |
Beta Was this translation helpful? Give feedback.
-
@borkdude I think that makes good sense for bb, for redundancy right? And maybe features on one CI that another does not have? That's probably not needed here, so I'm good with sticking to one CI for this project. |
Beta Was this translation helpful? Give feedback.
-
OK then, let's keep the one CI. |
Beta Was this translation helpful? Give feedback.
-
The two CIs...Oh... maybe you meant use GitHub Actions just to create that GitHub Release? GPG Signing Necessary/Valuable/Worth-the-cost-of-understanding-and-maintaining?If it were not for the need for gpg signing that is all set up on CircleCI, I'd be tempted just to move all the work over to GitHub Actions. Muckabout progressAnyway I'm playing on my muckabout project, here's a glimpse of what I have so far:
|
Beta Was this translation helpful? Give feedback.
-
If you have strong feelings about using Github Actions instead of CircleCI: my take would be: go ahead. As far as I am concerned, GPG can be dropped. So I'll defer to @slipset. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply and opinion @borkdude! on signing@slipset, I want to acknowledge the investment and challenge in getting GPG signing to work. If there is real value to signing, by all means, let's sign. (For other clj-commons projects, I do not sign: rewrite-clj, etaoin, clj-http-lite.) rationale on moving to github actionsI want to automate creating GitHub releases as part of publishing a release. I did have experimental success on my muckabout project in creating a GitHub Release from CircleCI. I did so with a GitHub personal access token. This is not the approach we'd want to take for clj-commons as it grants access at the user, and not the repo level. We'd need to figure out what model makes sense in granting privileges to GitHub from CircleCI. I spent time looking into this yesterday, one idea is to create GitHub machine users... and there are other approaches too. And we'd need to figure out who would manage this opsy kind of stuff. But if I just move CI GitHub Actions, this research and concern go away, freeing me up to work on more interesting (to me) things. |
Beta Was this translation helpful? Give feedback.
-
👍 |
Beta Was this translation helpful? Give feedback.
-
Converted to a Discussion so we can reserve Issues for things that are ready to be worked on. |
Beta Was this translation helpful? Give feedback.
-
Now that we have a Also, I've been typically been putting version in a |
Beta Was this translation helpful? Give feedback.
-
Moving this to a discussion was the right move @borkdude, thanks. topic: changelog automate update include date optionally include attribute to indicate breaking Example of what I am thinking of: ChangelogA release with an intentional breaking changes is marked with:
Unreleased [minor breaking]
v1.0.38 [breaking] - 2020-01-03
v1.0.37 - 2007-04-13
|
Beta Was this translation helpful? Give feedback.
-
topic: git release tag
I do prefer |
Beta Was this translation helpful? Give feedback.
-
topic: github release Just in case anybody cares (it is fine if you don't), here's what I'm playing with for automatically generated release: I think GitHub has lots of options now for populating the release description, but I thought I'd stick to the basics. |
Beta Was this translation helpful? Give feedback.
-
So, my 2 cents.
|
Beta Was this translation helpful? Give feedback.
-
Currently
I don't see an automated script to trigger a release.
This might be why we are sometimes missing:
So...
I'll whip up a babashka task that should do releasy stuff like:
The release tag will trigger our existing CI release flow.
We've done this on other projects, should not be too hard.
I might also...
See if I can automate creating the GitHub release.
This is something that is easy to forget.
Move to a
1.
release? Why not?I could...
Change the versioning scheme (@borkdude and I seem to prefer
1.0.<release count>
).Any objections?
Beta Was this translation helpful? Give feedback.
All reactions