Skip to content

Commit f9a5f41

Browse files
fix(nns/sns): Minor fix for release script (dfinity#3764)
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
1 parent fd7cd5a commit f9a5f41

File tree

1 file changed

+2
-2
lines changed
  • rs/nervous_system/tools/release-runscript/src

1 file changed

+2
-2
lines changed

rs/nervous_system/tools/release-runscript/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,13 +389,13 @@ fn run_submit_proposals(cmd: SubmitProposals) {
389389
sns_proposal_text_paths,
390390
} = cmd;
391391

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

398+
// Ask the user for the SUBMITTING_NEURON_ID (example: 51)
399399
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>.");
400400
let neuron_id = input("Enter your neuron ID (e.g. 51)");
401401

0 commit comments

Comments
 (0)