Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions taskboot/cargo.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ def cargo_publish(target: Target, args: argparse.Namespace) -> None:
assert config.has_cargo_auth(), "Missing Cargo authentication"

# Build the package to publish on crates.io
subprocess.run(["cargo", "publish", "--dry-run"], check=True)
subprocess.run(["cargo", "publish", "--no-verify", "--dry-run"], check=True)

# Publish the crate on crates.io
# stdout and stderr are captured to avoid leaking the token
proc = subprocess.run(
["cargo", "publish", "--token", config.cargo["token"]],
["cargo", "publish", "--no-verify", "--token", config.cargo["token"]],
capture_output=True,
)

Expand Down