Skip to content

Conversation

@konard
Copy link
Member

@konard konard commented Jan 8, 2026

Summary

  • Add support for CARGO_TOKEN as an alternative to CARGO_REGISTRY_TOKEN for crates.io publishing
  • Use fallback logic: ${{ secrets.CARGO_REGISTRY_TOKEN || secrets.CARGO_TOKEN }}
  • Update warning message to indicate both possible token names when neither is set

Changes

  • Updated auto-release job to accept either token
  • Updated manual-release job to accept either token

Test plan

  • Workflow syntax validation (pushing triggers workflow)
  • Verify the workflow runs correctly with the updated configuration
  • Verify publishing works when CARGO_TOKEN secret is set

Fixes #19

🤖 Generated with Claude Code

Adding CLAUDE.md with task information for AI processing.
This file will be removed when the task is complete.

Issue: #19
@konard konard self-assigned this Jan 8, 2026
…lishing

- Use CARGO_REGISTRY_TOKEN with fallback to CARGO_TOKEN for crates.io publishing
- Update warning message to indicate both possible token names
- Applies to both auto-release and manual-release workflows

Fixes #19

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@konard konard changed the title [WIP] Publish Rust crate feat(rust): support both CARGO_REGISTRY_TOKEN and CARGO_TOKEN for publishing Jan 8, 2026
@konard konard marked this pull request as ready for review January 8, 2026 20:03
@konard
Copy link
Member Author

konard commented Jan 8, 2026

🤖 Solution Draft Log

This log file contains the complete execution trace of the AI solution draft process.

💰 Cost estimation:


Now working session is ended, feel free to review and add any feedback on the solution draft.

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.

Publish Rust crate

2 participants