Skip to content

[cargo-smart-release] Release Commits Flow #4

@esoterra

Description

@esoterra

Summary 💡

Create a mode of cargo-smart-release that is aware of special commits with type "release". The idea being that release commits are where changelogs and versions are automatically updated, and the commit description identifies which of the crates are being released. This has the benefit that
a. it provides a way to signal to CI which things need to be released (by reading the commit description),
b. the tool can know that it is only traversing back to the last release commit,
c. and because it doesn't go past the release commit they act as a safe place to rename/relocate crates.

What do you think about adding this flow to cargo smart-release?

Motivation 🔦

I'm working on developing a release process for wit-bindgen, a Bytecode Alliance project, which has multiple crates that I would like to version more separately using something like cargo smart release. The features I'm asking for would help us implement the proposed process without requiring a ton of maintainer work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions