jobserver-rs icon indicating copy to clipboard operation
jobserver-rs copied to clipboard

CI: Support automatic publish to crates.io on tag creation

Open NobodyXu opened this issue 4 months ago • 3 comments

This would make it easier to release new crate, without having to ping anyone.

Whoever has the right to create a new release on GitHub shall have the right to publish it to crates.io

NOTE that this new workflow requires a secret CARGO_REGISTRY_TOKEN to be set. With scoped token, you can limit the token to only have the ability to publish new version under name jobserver, and nothing else.

NobodyXu avatar Apr 22 '24 13:04 NobodyXu

cc @weihanglo

NobodyXu avatar Apr 22 '24 13:04 NobodyXu

cc @weihanglo Do you think it's something worth's having for jobserver-rs?

cc-rs is already using this so that I don't have to ping someone on zulip to do the release every time 😂

NobodyXu avatar Apr 25 '24 12:04 NobodyXu

Yeah, and we may want to standardize the release process to include changelog.

Yet I think it's up to @petrochenkov who helps the release process a lot :)

weihanglo avatar Apr 25 '24 13:04 weihanglo