CI: Remove frontmatter from release notes

This commit is contained in:
Lovell Fuller
2025-07-26 23:58:48 +01:00
parent 9e20a25c5d
commit dda00f63e6
4 changed files with 17 additions and 5 deletions

View File

@@ -313,12 +313,13 @@ jobs:
path: npm
- name: Create npm workspace tarball
run: tar -vcaf npm-workspace.tar.xz --directory npm --exclude=from-local-build.js .
- name: Parse semver for tag
- uses: actions/setup-node@v4
if: startsWith(github.ref, 'refs/tags/v')
uses: madhead/semver-utils@v4
id: semver
with:
version: ${{ github.ref_name }}
node-version: "24"
- name: Create release notes
if: startsWith(github.ref, 'refs/tags/v')
run: npm run package-release-notes
- name: Create GitHub release for tag
if: startsWith(github.ref, 'refs/tags/v')
uses: ncipollo/release-action@v1
@@ -327,4 +328,4 @@ jobs:
artifactContentType: application/x-xz
prerelease: ${{ contains(github.ref, '-rc') }}
makeLatest: ${{ !contains(github.ref, '-rc') }}
bodyFile: "docs/src/content/docs/changelog/v${{ steps.semver.outputs.major }}.${{ steps.semver.outputs.minor }}.${{ steps.semver.outputs.patch }}.md"
bodyFile: release-notes.md