diff options
Diffstat (limited to '.github/workflows/release-paper.yaml')
| -rw-r--r-- | .github/workflows/release-paper.yaml | 30 |
1 files changed, 4 insertions, 26 deletions
diff --git a/.github/workflows/release-paper.yaml b/.github/workflows/release-paper.yaml index 9459ed6..3718163 100644 --- a/.github/workflows/release-paper.yaml +++ b/.github/workflows/release-paper.yaml @@ -94,35 +94,13 @@ jobs: VERSION=${{ needs.validate.outputs.version }} JAR_NAME=${{ needs.validate.outputs.jar_name }} - cat > /tmp/release-notes.md <<EOF - LunaticChat Paper/Folia v${VERSION} has been released. - - ## Download - - - [GitHub](https://github.com/m1sk9/LunaticChat/releases/tag/${TAG_NAME}) - - [Modrinth (Paper/Folia)](https://modrinth.com/plugin/lunaticchat/version/${VERSION}) - - ## What's new - - ### Highlights - - ### New Features - - ### Improvements - - ### Changes - - ### Bug Fixes - - ### Notes - - EOF - + # The notes point at the changelog on the documentation site rather than + # repeating it here, so the release notes live in exactly one place. gh release create "$TAG_NAME" \ "platform-paper/build/libs/$JAR_NAME" \ --title "v${VERSION} (Paper/Folia)" \ --draft \ - --notes-file /tmp/release-notes.md + --notes "Release notes: [Paper/Folia v${VERSION}](https://lc.m1sk9.dev/changelog/paper/v${VERSION})" - name: Publish to Modrinth (Paper/Folia) uses: cloudnode-pro/modrinth-publish@8dc596b20b94959bf244180235d90729d05a674f # v2 @@ -133,7 +111,7 @@ jobs: version: ${{ needs.validate.outputs.version }} channel: ${{ env.MODRINTH_CHANNEL }} changelog: |- - Please refer to the [GitHub release](https://github.com/m1sk9/LunaticChat/releases/tag/paper/v${{ needs.validate.outputs.version }}) for update details. + Please refer to the [release notes](https://lc.m1sk9.dev/changelog/paper/v${{ needs.validate.outputs.version }}) for update details. loaders: |- paper folia |
