From 9e8ea5e637fcf8b8c3128160b91dadf36e5d5749 Mon Sep 17 00:00:00 2001 From: Miles Johnson Date: Thu, 11 Jan 2024 19:20:17 -0800 Subject: [PATCH] fix: Remove changelog title. --- CHANGELOG.md | 4 ++++ index.ts | 4 +++- package.json | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d32df1b..16f7066 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.2.3 + +- Removed "Changelog" title from release body. + # 0.2.2 - Strip `v` from tags when checking changelogs and setting output. diff --git a/index.ts b/index.ts index 5954b4f..94bc6ce 100644 --- a/index.ts +++ b/index.ts @@ -37,6 +37,8 @@ function detectVersion() { core.setOutput('tag-version', version); + core.info(`Detected tagged version ${version}`); + PLUGIN_VERSION = version; } } @@ -232,7 +234,7 @@ async function extractChangelog() { for (const entry of changelog.versions) { if (entry.version === PLUGIN_VERSION && entry.body) { - core.setOutput('changelog-entry', `## Changelog\n\n${entry.body.trim()}`); + core.setOutput('changelog-entry', entry.body.trim()); break; } } diff --git a/package.json b/package.json index d0e7562..b2d2f58 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@moonrepo/build-wasm-plugin", - "version": "0.2.2", + "version": "0.2.3", "description": "A GitHub action to build, optimize, and prepare WASM plugins for release.", "main": "dist/index.js", "scripts": {