Skip to content

Commit

Permalink
xtask/pipe: Require lockfile in publish
Browse files Browse the repository at this point in the history
to avoid errors from invalid dependency versions.
  • Loading branch information
har7an committed Dec 29, 2023
1 parent 061d1e4 commit ae725a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xtask/src/pipelines.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ pub fn publish(sh: &Shell, flags: flags::Publish) -> anyhow::Result<()> {

if let Err(err) = cmd!(
sh,
"{cargo} publish {registry...} {more_args...} {dry_run...}"
"{cargo} publish --locked {registry...} {more_args...} {dry_run...}"
)
.run()
.context(err_context)
Expand Down

0 comments on commit ae725a6

Please # to comment.