mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Removing duplicate write command
Rename percentage options
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user