GRI-2187: document the Bearer prefix for the publish token #5

Merged
vivy merged 1 commit from docs/GRI-2187-publish-token-format into dev 2026-11-17 17:26:28 +00:00
Owner

Documents why the first v0.1.0 publish failed and how the secret must look.

  • The forge's Cargo registry refuses a bare token: 401, body authGroup.Verify. It accepts Bearer <token>. Measured on 2026-11-17: the same token answered 401 bare and passed auth with the prefix.
  • CARGO_REGISTRY_TOKEN now holds Bearer <token>. The re-pushed v0.1.0 tag published grimoirix-server 0.1.0 (run 15424, success).
  • README: the secret format, the publish-only account, the hand-publish command, and the "Projects using it" line, now that 0.1.0 exists.

Docs and a workflow comment only. No code changed.

Documents why the first `v0.1.0` publish failed and how the secret must look. - The forge's Cargo registry refuses a bare token: `401`, body `authGroup.Verify`. It accepts `Bearer <token>`. Measured on 2026-11-17: the same token answered 401 bare and passed auth with the prefix. - `CARGO_REGISTRY_TOKEN` now holds `Bearer <token>`. The re-pushed `v0.1.0` tag published `grimoirix-server 0.1.0` (run 15424, success). - README: the secret format, the publish-only account, the hand-publish command, and the "Projects using it" line, now that `0.1.0` exists. Docs and a workflow comment only. No code changed.
GRI-2187: document the Bearer prefix for the publish token
All checks were successful
CI / cargo fmt (pull_request) Successful in 4s
CI / cargo clippy (pull_request) Successful in 41s
CI / cargo test (pull_request) Successful in 52s
CI / cargo deny (pull_request) Successful in 49s
7d0a606c37
vivy merged commit 16f7138f52 into dev 2026-11-17 17:26:28 +00:00
vivy deleted branch docs/GRI-2187-publish-token-format 2026-11-17 17:26:28 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Grimoirix/grimoirix-backend-libs!5
No description provided.