diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts index ef2febb..57004b8 100644 --- a/.github/workflows/ci.generate.ts +++ b/.github/workflows/ci.generate.ts @@ -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", @@ -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: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d5af912..393d4b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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' @@ -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: