Skip to content

Commit

Permalink
fix(nns/sns): Minor fix for release script (#3764)
Browse files Browse the repository at this point in the history
Minor fixes:

1. When asking the user for whether they'd like to submit proposals,
yes/no options are reversed
2. The comment for asking for neuron ids was misplaced
  • Loading branch information
jasonz-dfinity authored Feb 4, 2025
1 parent fd7cd5a commit f9a5f41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rs/nervous_system/tools/release-runscript/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -389,13 +389,13 @@ fn run_submit_proposals(cmd: SubmitProposals) {
sns_proposal_text_paths,
} = cmd;

// Ask the user for the SUBMITTING_NEURON_ID (example: 51)
if input_yes_or_no("Do you want to submit upgrade proposals?", false) {
if !input_yes_or_no("Do you want to submit upgrade proposals?", false) {
println!("Skipping upgrade proposal submission and all following steps.");
return;
}
println!();

// Ask the user for the SUBMITTING_NEURON_ID (example: 51)
println!("We are now going to submit the proposals. For this step, we need your neuron ID. If you are submitting on behalf of DFINITY, your neuron ID is written at this notion page: <https://www.notion.so/dfinityorg/3a1856c603704d51a6fcd2a57c98f92f?v=fc597afede904e499744f3528cad6682>.");
let neuron_id = input("Enter your neuron ID (e.g. 51)");

Expand Down

0 comments on commit f9a5f41

Please sign in to comment.