Skip to content

Commit

Permalink
chore: add back showing prettier version in release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Jan 6, 2025
1 parent 62b41c4 commit 2fc72f8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,11 @@ const ci = {
name: "Create plugin file",
run: "deno run -A scripts/create_plugin_file.ts",
},
{
name: "Get prettier version",
id: "get_prettier_version",
run: "echo PRETTIER_VERSION=$(deno run --allow-read scripts/output_prettier_version.ts) >> $GITHUB_OUTPUT",
},
{
name: "Get tag version",
id: "get_tag_version",
Expand Down Expand Up @@ -274,7 +279,8 @@ const ci = {
// todo: add this
// "deployment/schema.json",
].join("\n"),
body: `## Install
body: `Prettier \${{ steps.get_prettier_version.outputs.PRETTIER_VERSION }}
## Install
Dependencies:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,9 @@ jobs:
echo "dprint-plugin-prettier-aarch64-unknown-linux-gnu.zip: ${{needs.build.outputs.ZIP_CHECKSUM_AARCH64_UNKNOWN_LINUX_GNU}}"
- name: Create plugin file
run: deno run -A scripts/create_plugin_file.ts
- name: Get prettier version
id: get_prettier_version
run: echo PRETTIER_VERSION=$(deno run --allow-read scripts/output_prettier_version.ts) >> $GITHUB_OUTPUT
- name: Get tag version
id: get_tag_version
run: 'echo TAG_VERSION=${GITHUB_REF/refs\/tags\//} >> $GITHUB_OUTPUT'
Expand All @@ -208,6 +211,7 @@ jobs:
dprint-plugin-prettier-aarch64-unknown-linux-gnu.zip
plugin.json
body: |
Prettier ${{ steps.get_prettier_version.outputs.PRETTIER_VERSION }}
## Install
Dependencies:
Expand Down

0 comments on commit 2fc72f8

Please sign in to comment.