Skip to content

Commit 2f7a269

Browse files
committed
ci: publish crates even from HEAD
Modifies the `cargo-release` config to permit releasing from the `HEAD` checkout created by GHA in CI. By default, cargo-release disallows `HEAD` via the `!HEAD` match, see docs at [0]. Refs #5005. [0] https://github.com/crate-ci/cargo-release/blob/f7c2975325afc6d6fc1793544802a5578d9ef256/docs/reference.md
1 parent bf46dfa commit 2f7a269

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Cargo.toml

+2
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ push = false
106106
dependent-version = "upgrade"
107107
# Increase default ratelimit on publishing packages
108108
rate-limit = { existing-packages = 50 }
109+
# Permit publishing from any branch, because in GHA CI context, HEAD is checked out.
110+
allow-branch = ["*"]
109111

110112
[workspace.package]
111113
authors = ["Penumbra Labs <[email protected]"]

0 commit comments

Comments
 (0)