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 Jan 8, 2024
1 parent 24596c8 commit 9932807
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 9932807

Please sign in to comment.