Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tools/pepsi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pepsi"
version = "7.34.0"
version = "7.35.0"
edition.workspace = true
license.workspace = true
homepage.workspace = true
Expand Down
9 changes: 8 additions & 1 deletion tools/pepsi/src/upload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,11 @@ pub struct UploadArguments {
/// Skip the OS version check
#[arg(long)]
pub skip_os_check: bool,
/// Build, don't upload
#[arg(long)]
pub prepare: bool,
/// The Robots to upload to e.g. 20w or 10.1.24.22
#[arg(required = true)]
#[arg(required_unless_present("prepare"))]
pub robots: Vec<RobotAddress>,
}

Expand Down Expand Up @@ -138,6 +141,10 @@ pub async fn upload(arguments: Arguments, repository: &Repository) -> Result<()>
.wrap_err("failed to build")?;
}

if arguments.upload.prepare {
return Ok(());
}

repository
.populate_upload_directory(&upload_directory, &[hulk_binary])
.await
Expand Down
Loading