Skip to content

Commit afaf5a6

Browse files
authored
Update release announcement format to Markdown
1 parent 0d7917c commit afaf5a6

File tree

1 file changed

+12
-16
lines changed

1 file changed

+12
-16
lines changed

.github/workflows/windows.yml

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -547,24 +547,20 @@ jobs:
547547
RELEASE_NAME="${{ github.event.release.name }}"
548548
VERSION="${TAG_NAME#v}"
549549
DATE="$(date +%Y-%m-%d)"
550-
FILENAME="${DATE}-released-fluidsynth-${VERSION//./-}.html"
550+
FILENAME="${DATE}-released-fluidsynth-${VERSION//./-}.md"
551551
mkdir -p release_announcement
552552
cat > release_announcement/$FILENAME <<EOF
553-
<!DOCTYPE html>
554-
<html lang="en">
555-
<head>
556-
<meta charset="UTF-8">
557-
<title>Released FluidSynth ${VERSION}</title>
558-
</head>
559-
<body>
560-
<h1>Released FluidSynth ${VERSION}</h1>
561-
<p>A stable version of FluidSynth ${VERSION} has been released. Details can be found in the release notes:</p>
562-
<p><a href="https://github.com/FluidSynth/fluidsynth/releases/tag/${TAG_NAME}">Release Notes</a></p>
563-
</body>
564-
</html>
565-
EOF
566-
567-
- name: Publish HTML Announcement to GH Pages
553+
---
554+
title: Released FluidSynth ${VERSION}
555+
author: Tom Moebert
556+
layout: post
557+
---
558+
559+
A maintenance release for fluidsynth has been released. Details can be found in the release notes:
560+
561+
<https://github.com/FluidSynth/fluidsynth/releases/tag/${TAG_NAME}>
562+
563+
- name: Publish Announcement to GH Pages
568564
uses: JamesIves/github-pages-deploy-action@v4
569565
with:
570566
folder: release_announcement

0 commit comments

Comments
 (0)