Removing duplicate write command

Rename percentage options
This commit is contained in:
Kevin Bost
2025-02-20 13:40:16 -08:00
committed by Caelan
parent 508145a291
commit 130b9e082d
2 changed files with 1 additions and 2 deletions

View File

@@ -308,7 +308,6 @@ impl VelopackLocator {
}
}
let new_id = Uuid::new_v4();
std::fs::write(&beta_id_path, &new_id).expect("Unable to write .betaId file");
if let Err(_e) = std::fs::write(&beta_id_path, &new_id) {
warn!("Couldn't write out staging userId.");
} else {

View File

@@ -26,7 +26,7 @@ public class PublishCommand : VelopackServiceCommand
AddOption<bool>(v => WaitForLive = v, "--waitForLive")
.SetDescription("Wait for the release to finish processing and go live.");
AddOption<int>(v => TieredRolloutPercentage = v, "--tieredRolloutPercentage")
AddOption<int>(v => TieredRolloutPercentage = v, "--rolloutPercentage")
.SetDescription("Set the starting percentage for this release when using a tiered rollout. Range 0 to 100")
.SetDefault(100)
.SetValidRange(0, 100);