Skip to content

fix(ci): add --allow-dirty for cargo publish after stripping monty#209

Merged
chaliy merged 2 commits intomainfrom
claude/maintenance-patch-release-nEQ2M
Feb 17, 2026
Merged

fix(ci): add --allow-dirty for cargo publish after stripping monty#209
chaliy merged 2 commits intomainfrom
claude/maintenance-patch-release-nEQ2M

Conversation

@chaliy
Copy link
Contributor

@chaliy chaliy commented Feb 17, 2026

Summary

Test plan

  • Re-run Publish workflow after merge

monty ^0.0.6 only exists on GitHub (crates.io has 0.0.0).
cargo publish resolves all deps from registry, including optional
ones, causing the v0.1.5 publish to fail.

Strip monty dependency, python feature, and python_scripts example
from Cargo.toml before `cargo publish` so the crate publishes
without the python feature (which was already documented as
unavailable from registry).
The strip step modifies Cargo.toml without committing, so cargo
publish rejects the dirty working tree. --allow-dirty is correct
here since the modification is intentional.
@chaliy chaliy merged commit 6e566e4 into main Feb 17, 2026
9 checks passed
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