From 169682219a631fbedfa590dcc0600cd2de4e1a37 Mon Sep 17 00:00:00 2001 From: Amr Bashir Date: Tue, 23 Aug 2022 17:04:28 +0200 Subject: [PATCH] covector: reduce cargo audit/publish noise in release notes (#5011) --- .changes/config.json | 50 ++++--------------- .../plugin/backend/.changes/config.json | 18 ++----- .../plugin/with-api/.changes/config.json | 27 +++------- 3 files changed, 20 insertions(+), 75 deletions(-) diff --git a/.changes/config.json b/.changes/config.json index eb8bdeb0c..d6015b2b0 100644 --- a/.changes/config.json +++ b/.changes/config.json @@ -17,12 +17,7 @@ "pipe": true }, { - "command": "echo \"# Cargo Audit\"", - "dryRunCommand": true, - "pipe": true - }, - { - "command": "echo '```'", + "command": "echo '
\n

Cargo Audit

\n\n```'", "dryRunCommand": true, "pipe": true }, @@ -33,7 +28,7 @@ "pipe": true }, { - "command": "echo '```'", + "command": "echo '```\n\n
\n'", "dryRunCommand": true, "pipe": true } @@ -45,12 +40,7 @@ "dryRunCommand": true }, { - "command": "echo \"# Cargo Publish\"", - "dryRunCommand": true, - "pipe": true - }, - { - "command": "echo '```'", + "command": "echo '
\n

Cargo Publish

\n\n```'", "dryRunCommand": true, "pipe": true }, @@ -60,7 +50,7 @@ "pipe": true }, { - "command": "echo '```'", + "command": "echo '```\n\n
\n'", "dryRunCommand": true, "pipe": true } @@ -87,12 +77,7 @@ "dryRunCommand": true }, { - "command": "echo \"# Yarn Audit\n\"", - "dryRunCommand": true, - "pipe": true - }, - { - "command": "echo '
\nclick to view\n\n```'", + "command": "echo '
\n

Yarn Audit

\n\n```'", "dryRunCommand": true, "pipe": true }, @@ -115,12 +100,7 @@ "publish": [ "sleep 15s", { - "command": "echo \"# Yarn Package Publish\"", - "dryRunCommand": true, - "pipe": true - }, - { - "command": "echo '```'", + "command": "echo '
\n

Yarn Publish

\n\n```'", "dryRunCommand": true, "pipe": true }, @@ -130,7 +110,7 @@ "pipe": true }, { - "command": "echo '```'", + "command": "echo '```\n\n
\n'", "dryRunCommand": true, "pipe": true } @@ -158,12 +138,7 @@ "dryRunCommand": true }, { - "command": "echo \"# Yarn Audit\n\"", - "dryRunCommand": true, - "pipe": true - }, - { - "command": "echo '
\nclick to view\n\n```'", + "command": "echo '
\n

Yarn Audit

\n\n```'", "dryRunCommand": true, "pipe": true }, @@ -185,12 +160,7 @@ ], "publish": [ { - "command": "echo \"# Yarn Package Publish\"", - "dryRunCommand": true, - "pipe": true - }, - { - "command": "echo '```'", + "command": "echo '
\n

Yarn Publish

\n\n```'", "dryRunCommand": true, "pipe": true }, @@ -200,7 +170,7 @@ "pipe": true }, { - "command": "echo '```'", + "command": "echo '```\n\n
\n'", "dryRunCommand": true, "pipe": true } diff --git a/tooling/cli/templates/plugin/backend/.changes/config.json b/tooling/cli/templates/plugin/backend/.changes/config.json index 10d274121..1fa3dea3c 100755 --- a/tooling/cli/templates/plugin/backend/.changes/config.json +++ b/tooling/cli/templates/plugin/backend/.changes/config.json @@ -14,12 +14,7 @@ "pipe": true }, { - "command": "echo \"# Cargo Audit\"", - "dryRunCommand": true, - "pipe": true - }, - { - "command": "echo '```'", + "command": "echo '
\n

Cargo Audit

\n\n```'", "dryRunCommand": true, "pipe": true }, @@ -29,7 +24,7 @@ "pipe": true }, { - "command": "echo '```'", + "command": "echo '```\n\n
\n'", "dryRunCommand": true, "pipe": true } @@ -40,12 +35,7 @@ "dryRunCommand": true }, { - "command": "echo \"# Cargo Publish\"", - "dryRunCommand": true, - "pipe": true - }, - { - "command": "echo \"\\`\\`\\`\"", + "command": "echo '
\n

Cargo Publish

\n\n```'", "dryRunCommand": true, "pipe": true }, @@ -55,7 +45,7 @@ "pipe": true }, { - "command": "echo \"\\`\\`\\`\"", + "command": "echo '```\n\n
\n'", "dryRunCommand": true, "pipe": true } diff --git a/tooling/cli/templates/plugin/with-api/.changes/config.json b/tooling/cli/templates/plugin/with-api/.changes/config.json index d64e94ca4..4424d5b58 100755 --- a/tooling/cli/templates/plugin/with-api/.changes/config.json +++ b/tooling/cli/templates/plugin/with-api/.changes/config.json @@ -14,12 +14,7 @@ "pipe": true }, { - "command": "echo \"# Cargo Audit\"", - "dryRunCommand": true, - "pipe": true - }, - { - "command": "echo '```'", + "command": "echo '
\n

Cargo Audit

\n\n```'", "dryRunCommand": true, "pipe": true }, @@ -29,7 +24,7 @@ "pipe": true }, { - "command": "echo '```'", + "command": "echo '```\n\n
\n'", "dryRunCommand": true, "pipe": true } @@ -40,12 +35,7 @@ "dryRunCommand": true }, { - "command": "echo \"# Cargo Publish\"", - "dryRunCommand": true, - "pipe": true - }, - { - "command": "echo \"\\`\\`\\`\"", + "command": "echo '
\n

Cargo Publish

\n\n```'", "dryRunCommand": true, "pipe": true }, @@ -55,7 +45,7 @@ "pipe": true }, { - "command": "echo \"\\`\\`\\`\"", + "command": "echo '```\n\n
\n'", "dryRunCommand": true, "pipe": true } @@ -66,12 +56,7 @@ "getPublishedVersion": "npm view ${ pkgFile.pkg.name } version", "publish": [ { - "command": "echo \"# Yarn Package Publish\"", - "dryRunCommand": true, - "pipe": true - }, - { - "command": "echo '```'", + "command": "echo '
\n

Yarn Publish

\n\n```'", "dryRunCommand": true, "pipe": true }, @@ -81,7 +66,7 @@ "pipe": true }, { - "command": "echo '```'", + "command": "echo '```\n\n
\n'", "dryRunCommand": true, "pipe": true }