Skip to content

Commit 2fc72f8

Browse files
committed
chore: add back showing prettier version in release notes
1 parent 62b41c4 commit 2fc72f8

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/ci.generate.ts

+7-1
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,11 @@ const ci = {
247247
name: "Create plugin file",
248248
run: "deno run -A scripts/create_plugin_file.ts",
249249
},
250+
{
251+
name: "Get prettier version",
252+
id: "get_prettier_version",
253+
run: "echo PRETTIER_VERSION=$(deno run --allow-read scripts/output_prettier_version.ts) >> $GITHUB_OUTPUT",
254+
},
250255
{
251256
name: "Get tag version",
252257
id: "get_tag_version",
@@ -274,7 +279,8 @@ const ci = {
274279
// todo: add this
275280
// "deployment/schema.json",
276281
].join("\n"),
277-
body: `## Install
282+
body: `Prettier \${{ steps.get_prettier_version.outputs.PRETTIER_VERSION }}
283+
## Install
278284
279285
Dependencies:
280286

.github/workflows/ci.yml

+4
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,9 @@ jobs:
189189
echo "dprint-plugin-prettier-aarch64-unknown-linux-gnu.zip: ${{needs.build.outputs.ZIP_CHECKSUM_AARCH64_UNKNOWN_LINUX_GNU}}"
190190
- name: Create plugin file
191191
run: deno run -A scripts/create_plugin_file.ts
192+
- name: Get prettier version
193+
id: get_prettier_version
194+
run: echo PRETTIER_VERSION=$(deno run --allow-read scripts/output_prettier_version.ts) >> $GITHUB_OUTPUT
192195
- name: Get tag version
193196
id: get_tag_version
194197
run: 'echo TAG_VERSION=${GITHUB_REF/refs\/tags\//} >> $GITHUB_OUTPUT'
@@ -208,6 +211,7 @@ jobs:
208211
dprint-plugin-prettier-aarch64-unknown-linux-gnu.zip
209212
plugin.json
210213
body: |
214+
Prettier ${{ steps.get_prettier_version.outputs.PRETTIER_VERSION }}
211215
## Install
212216
213217
Dependencies:

0 commit comments

Comments
 (0)