You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: testnet/tools/nns-tools/lib/proposals.sh
+36Lines changed: 36 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -284,6 +284,38 @@ EOF
284
284
echo"$OUTPUT"
285
285
}
286
286
287
+
##: generate_forum_post_sns_wasm_publish
288
+
## Usage: $1 <proposal_file> (<proposal_file>...)
289
+
## Example: $1 directory_with_new_proposals/*
290
+
## Example: $1 proposal_1.md proposal_2.md
291
+
generate_forum_post_sns_wasm_publish() {
292
+
PROPOSAL_FILES=$(ls "$@")
293
+
294
+
THIS_FRIDAY=$(date -d "next Friday" +'%Y-%m-%d'2>/dev/null || date -v+Fri +%Y-%m-%d)
295
+
296
+
OUTPUT=$(
297
+
cat <<EOF
298
+
The NNS Team will be submitting the following proposals to publish new versions of SNS canisters to SNS-WASM this Friday, $THIS_FRIDAY. DFINITY plans to vote on these proposals the following Monday.
0 commit comments