From 8acef9e5114b394d7c49eb5d5fb95021f2257f25 Mon Sep 17 00:00:00 2001 From: max-dfinity <100170574+max-dfinity@users.noreply.github.com> Date: Fri, 10 Jan 2025 15:46:31 -0800 Subject: [PATCH] fix(nns-tools): Fix forum post generator (#3407) --- testnet/tools/nns-tools/lib/proposals.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testnet/tools/nns-tools/lib/proposals.sh b/testnet/tools/nns-tools/lib/proposals.sh index acce6003a3d..18585904ba3 100644 --- a/testnet/tools/nns-tools/lib/proposals.sh +++ b/testnet/tools/nns-tools/lib/proposals.sh @@ -624,12 +624,12 @@ proposal_field_value() { nns_upgrade_proposal_canister_raw_name() { local FILE=$1 - cat "$FILE" | grep "## Proposal to Upgrade the" | cut -d' ' -f6 + cat "$FILE" | grep "# Upgrade the" | cut -d' ' -f4 } sns_wasm_publish_proposal_canister_raw_name() { local FILE=$1 - cat "$FILE" | grep "## Proposal to Publish the SNS" | cut -d' ' -f7 + cat "$FILE" | grep "# Publish SNS" | cut -d' ' -f4 } #### Proposal text validators