Skip to content

Setup trusted publishing for the trpl crate - #4890

Open
Kobzol wants to merge 1 commit into
rust-lang:mainfrom
Kobzol:trusted-publishing
Open

Kobzol wants to merge 1 commit into
rust-lang:mainfrom
Kobzol:trusted-publishing

Conversation

@Kobzol

@Kobzol Kobzol commented Nov 9, 2026

Copy link
Copy Markdown
Member

Companion PR: rust-lang/team#2931

on:
push:
tags:
- "*"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait so this will (try to) publish the trpl crate whenever any tag is pushed? Is there a way to make this only run when tags start with trpl-v, or is this the way it's done and we just let this job fail if the trpl crate doesn't have a new version number...?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I didn't realize that cargo publish will fail if the version already exists. We can indeed use a glob pattern for the tags, do you want to set it to trpl-v*?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants