Skip to content

*: Automate various parts of the release process #2902

@thomaseizinger

Description

@thomaseizinger

Description

Most tasks around releasing crates in our monorepo are currently performed manually:

  • Adding changelog entries (happens in PRs usually)
  • Pull through version numbers of workspace dependencies (also happens in PRs)
  • Actually releasing crates to crates.io (done by @mxinden)

Motivation

Repetitive tasks consume unnecessary time and should be automated.

Requirements

  1. I'd like to have the pulling through of version bumps somehow automated, i.e. if I bump libp2p-core by a minor version, all dependent crates should update their dependency automatically and bump their on version as required.
  2. Adding a changelog entry about the above would be useful.
  3. Automatically lint against broken links in markdown. This is currently not possible because the root CHANGELOG links to what the header will be after the release, meaning until then, they are all broken because the contain the -unreleased postfix.

It would be nice to trigger these operations through a bot / CI so contributors don't have to learn how to do it.

Open questions

Are you planning to do it yourself in a pull request?

Maybe.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions