Replies: 1 comment
-
So I've been thinking about a lot of this for my own projects. As there's no clear perfect answer, I've merely put up with doing things manually, although recently I've made a "cargo publish" CI step if the tests pass the commit is a version tag on the main branch. Again, imperfect, but I've been trying to be good about updating the changelog with each commit, and typically from the perspective of "what do the users want to see". It's the sort of thing that can distract from coding, but I don't think it's overly onerous. Changing READMEs can be quite onerous, although I don't think it's possible to automate this as (emergent AI tools notwithstanding) only a human knows how to disseminate the changes. I also believe if anyone was really interested in seeing what changes happened, it's easy to match up the changelog message with commit. I'm not sure how to automatically bump versions. There is a tool "cranko" that may be useful, but I'm still yet to fully understand what it does. |
Beta Was this translation helpful? Give feedback.
-
I am starting to build a release github action for maintainers (currently @cjordan and me) so that
I have done all of the releases in the past, but that may need to change. I want to open the floor up to other contributors.
The current release process currently depends on the crate being released, but generally is as follows:
README.md
for any references to thefitsio
version - this is checked in tests, so must be correct.fitsio
for a while, and as such most of the "meta" files refer only tofitsio
but there are now other crates.<crate>-<version>
Ideally this should all happen in a PR, triggered by the new workflow, unfortunately it is not currently fully automated - points 1 and 2 can be done in the PR, but the rest is not yet implemented, or cannot be implemented (the changelog).
I am interested to learn more about how we can continue automating this process. In general:
cargo publish
).cc @cjordan
Beta Was this translation helpful? Give feedback.
All reactions