Skip to content

fix(release): send a user agent in the crates.io lookup - #190

Merged
BartWaardenburg merged 1 commit into
mainfrom
fix/crates-lookup-user-agent
Oct 21, 2026
Merged

BartWaardenburg merged 1 commit into
mainfrom
fix/crates-lookup-user-agent

Conversation

@BartWaardenburg

Copy link
Copy Markdown
Collaborator

crates.io answers a request without a user agent with HTTP 403. The publish helper then stopped before cargo publish, so the v0.4.0 release run published no crate. The npm packages published.

The lookup now sends a user agent. A new test checks the curl arguments. After the merge, a release.yml dispatch from main publishes the 0.4.0 crates. The npm step skips the versions that npm already has.

crates.io now answers a request without a user agent with HTTP 403. The
publish helper then stopped before cargo publish, so the v0.4.0 release
run published no crate.

Signed-off-by: Bart Waardenburg <bart@waardenburg.dev>
@BartWaardenburg
BartWaardenburg merged commit 991e941 into main Oct 21, 2026
19 checks passed
@BartWaardenburg
BartWaardenburg deleted the fix/crates-lookup-user-agent branch October 22, 2026 08:24
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.

1 participant