Skip to content

Switch to cargo-release for publishing crates #65

@conorsch

Description

@conorsch

Over in the Penumbra monorepo, we've started using cargo release (penumbra-zone/penumbra#2384) to trigger deployments based on tag pushes. In the ibc-types repo, we have a bespoke scripted implementation designed to work around ratelimiting for crates.io.

Based on upstream discussion crate-ci/cargo-release#483, I suspect we've rounded the corner on the ratelimiting issues, because we're now updating crates, rather than publishing brand new crates on the regular. Still, more testing is needed.

Let's try to get the tag -> build -> publish flow as simple and reliable as possible, to minimize the turnaround time between a PR from an external contributor and that new code landing in a published crate version. It'd also be nice-to-have if the workflow is similar to others we use elsewhere, to reduce friction when hopping between repos—thus the suggestion for standardizing on cargo-release.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions