automate releases #789
Labels
No labels
A: API
A: Backend
A: Federation
A: Front-End
A: I18N
A: Meta
A: Security
Build
C: Bug
C: Discussion
C: Enhancement
C: Feature
Compatibility
Dependency
Design
Documentation
Good first issue
Help welcome
Mobile
Rendering
S: Blocked
S: Duplicate
S: Incomplete
S: Instance specific
S: Invalid
S: Needs Voting/Discussion
S: Ready for review
Suggestion
S: Voted on Loomio
S: Wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Plume/Plume#789
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The last release, 0.5.0 we made did not bump the version number.
We should automate our releases as far as possible.
In an ideal world, anyone could trigger a release by proposing a PR that includes a Changelog and bumps some version numbers.
Right now, we don't have a Changelog in the repo itself.
But there are 7(!!!) places (Cargo.toml files) where a version needs to be bumped.
How to mitigate this?
we could have a
pre-releasehelper… script, orcargotarget??, that helps with the PR: it bumps all the versions, and creates a Changelog.md entry. That changelog.md entry can either be a template that needs to be filled out by the person proposing the release-pr, or it could be generated from github.Once that PR is merged, we'd run another helper script that tags the version, and creates a Github release from the Changelog entry. Perhaps some time in the future, we could also push a release out to https://crates.io/crates/plume if we can convince @bochecha to… trade places… ooooooooooor, we could just call our crate plume-blog ?
The script should also bump the versions to x.y.z-dev (or x.y.z-githash), so we know when somebody is running an unreleased version.
Aparently, cargo-release can help us with most of these!
started a patch here: https://github.com/Plume-org/Plume/pull/790