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 20, 2024
1 parent 3ac9714 commit fc5b9ad
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 fc5b9ad

Please sign in to comment.