Commit 2fc72f8 1 parent 62b41c4 commit 2fc72f8 Copy full SHA for 2fc72f8
File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -247,6 +247,11 @@ const ci = {
247
247
name : "Create plugin file" ,
248
248
run : "deno run -A scripts/create_plugin_file.ts" ,
249
249
} ,
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
+ } ,
250
255
{
251
256
name : "Get tag version" ,
252
257
id : "get_tag_version" ,
@@ -274,7 +279,8 @@ const ci = {
274
279
// todo: add this
275
280
// "deployment/schema.json",
276
281
] . join ( "\n" ) ,
277
- body : `## Install
282
+ body : `Prettier \${{ steps.get_prettier_version.outputs.PRETTIER_VERSION }}
283
+ ## Install
278
284
279
285
Dependencies:
280
286
Original file line number Diff line number Diff line change @@ -189,6 +189,9 @@ jobs:
189
189
echo "dprint-plugin-prettier-aarch64-unknown-linux-gnu.zip: ${{needs.build.outputs.ZIP_CHECKSUM_AARCH64_UNKNOWN_LINUX_GNU}}"
190
190
- name : Create plugin file
191
191
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
192
195
- name : Get tag version
193
196
id : get_tag_version
194
197
run : ' echo TAG_VERSION=${GITHUB_REF/refs\/tags\//} >> $GITHUB_OUTPUT'
@@ -208,6 +211,7 @@ jobs:
208
211
dprint-plugin-prettier-aarch64-unknown-linux-gnu.zip
209
212
plugin.json
210
213
body : |
214
+ Prettier ${{ steps.get_prettier_version.outputs.PRETTIER_VERSION }}
211
215
## Install
212
216
213
217
Dependencies:
You can’t perform that action at this time.
0 commit comments