From 5984ea3dd09152e743f8c3b7fe85d7a142c14b58 Mon Sep 17 00:00:00 2001 From: Heath Stewart Date: Sat, 4 Jul 2026 23:18:38 -0700 Subject: [PATCH] Add publishing info to CONTRIBUTING.md --- CONTRIBUTING.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5e4465e..967ef62 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -161,6 +161,14 @@ To view all help options, you can print all subcommands and arguments as markdow RUSTFLAGS='--cfg help_markdown' cargo run -- help-markdown ``` +## Publishing + +The release pipeline uses several environments that require [tokens](https://github.com/settings/tokens): + +* crates-io: [Create](https://crates.io/settings/tokens) an API token that can push new versions of an existing crate. +* homebrew: Classic PAT with `public_repo` permission. +* winget ([docs](https://github.com/microsoft/winget-create/blob/main/doc/token.md)): Classic PAT with `public_repo` permission with TTL <= 7 days. + ## Troubleshooting To help troubleshoot issues, you can trace information to the terminal: