crate-ci / cargo-release

Cargo subcommand `release`: everything about releasing a rust crate.
Apache License 2.0
1.33k stars 112 forks source link

Release with github workflow: `error: cannot release from branch "HEAD", instead switch to "*, !HEAD"` #831

Open Jasha10 opened 2 weeks ago

Jasha10 commented 2 weeks ago

Using actions/checkout@v4

cargo release publish --workspace --execute --no-confirm
error: cannot release from branch "HEAD", instead switch to "*, !HEAD"
error: Recipe `publish` failed on line 6 with exit code 101
epage commented 2 weeks ago

Could you share your config file and reproduction steps?