Skip to content

Commit

Permalink
fix: Remove changelog title.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Jan 12, 2024
1 parent 4e998d0 commit 9e8ea5e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 3 additions & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ function detectVersion() {

core.setOutput('tag-version', version);

core.info(`Detected tagged version ${version}`);

PLUGIN_VERSION = version;
}
}
Expand Down Expand Up @@ -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;
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 9e8ea5e

Please sign in to comment.