@@ -891,12 +891,19 @@ jobs:
891891 steps :
892892 - name : Checkout repository
893893 uses : actions/checkout@v6
894+ with :
895+ fetch-depth : 0
894896
895897 - name : Download all artifacts
896898 uses : actions/download-artifact@v8
897899 with :
898900 merge-multiple : true
899901
902+ - name : Generate release notes HTML
903+ run : |
904+ ./scripts/release/generate_changelog.sh --notes-only | \
905+ ./scripts/generate_release_notes_html.sh > release-notes.html
906+
900907 - name : Generate appcast.xml
901908 env :
902909 TAG_NAME : ${{ github.ref_name }}
@@ -908,7 +915,8 @@ jobs:
908915 DATE=$(date -R)
909916 MACOS_URL="https://github.com/${{ github.repository }}/releases/download/${TAG_NAME}/Submersion-${TAG_NAME}-macOS.dmg"
910917 WINDOWS_URL="https://github.com/${{ github.repository }}/releases/download/${TAG_NAME}/Submersion-${TAG_NAME}-Windows-Setup.exe"
911- ./scripts/generate_appcast.sh "$VERSION" "$BUILD_NUMBER" "$DATE" "$MACOS_URL" "$WINDOWS_URL" > appcast.xml
918+ RELEASE_NOTES_URL="https://github.com/${{ github.repository }}/releases/download/${TAG_NAME}/release-notes.html"
919+ ./scripts/generate_appcast.sh "$VERSION" "$BUILD_NUMBER" "$DATE" "$MACOS_URL" "$WINDOWS_URL" "$RELEASE_NOTES_URL" > appcast.xml
912920
913921 - name : Generate checksums
914922 run : sha256sum Submersion-* > checksums-sha256.txt
@@ -917,7 +925,9 @@ jobs:
917925 uses : actions/upload-artifact@v7
918926 with :
919927 name : appcast
920- path : appcast.xml
928+ path : |
929+ appcast.xml
930+ release-notes.html
921931 retention-days : 5
922932
923933 - name : Upload checksums artifact
@@ -972,6 +982,7 @@ jobs:
972982 files : |
973983 Submersion-*
974984 appcast.xml
985+ release-notes.html
975986 checksums-sha256.txt
976987 prerelease : ${{ steps.prerelease.outputs.prerelease }}
977988 body_path : release-notes.md
0 commit comments