Skip to content

Commit c8dfc3b

Browse files
LekoArtsbrkalow
andauthored
chore(repo): Use correct install snippet in snapshot comment (#1901)
Co-authored-by: Bryce Kalow <[email protected]>
1 parent f78c475 commit c8dfc3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release-snapshot.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
const snippets = descriptors
8686
.map(
8787
({ name, version }) =>
88-
`\`\`\`sh\n# ${name}\nnpm i ${name}@${version}\n\`\`\``
88+
`\`${name}\`\n\`\`\`sh\nnpm i ${name}@${version} --save-exact\n\`\`\``
8989
)
9090
.join("\n");
9191
core.setOutput("table", table);
@@ -109,5 +109,5 @@ jobs:
109109
body: |
110110
Hey @${{ github.event.comment.user.login }} - the snapshot version command generated the following package versions:
111111
${{ steps.package-info.outputs.table }}
112-
Tip: use the snippet copy button below to quickly install the required packages.
112+
Tip: Use the snippet copy button below to quickly install the required packages.
113113
${{ steps.package-info.outputs.snippets }}

0 commit comments

Comments
 (0)