-- cgit v1.2.1 From ef7f1dbf1cbd781a5c8e081820a803c871b42d5e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 10 Feb 2026 10:53:49 +0000 Subject: Split Modrinth release workflow for Paper and Velocity with constants Co-authored-by: m1sk9 <82575685+m1sk9@users.noreply.github.com> --- .github/workflows/release.yaml | 35 ++++++++++++++++++++++++----------- 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f46c4e9..b17aa91 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -80,6 +80,9 @@ jobs: needs: [validate, build] permissions: contents: write + env: + MODRINTH_CHANNEL: beta + MODRINTH_GAME_VERSIONS: "1.21.x" steps: - name: Checkout repository uses: actions/checkout@v6 @@ -109,21 +112,31 @@ jobs: --draft \ --notes "" - - name: Publish to Modrinth + - name: Publish to Modrinth (Paper) uses: cloudnode-pro/modrinth-publish@0a5268ad092d4727bb6424326746fa2fe88761ff # v2 with: token: ${{ secrets.MODRINTH_TOKEN }} - name: LunaticChat v${{ needs.validate.outputs.version }} + name: LunaticChat v${{ needs.validate.outputs.version }} (Paper) project: ${{ secrets.MODRINTH_PROJECT_ID }} - version: ${{ needs.validate.outputs.version }} - channel: beta + version: ${{ needs.validate.outputs.version }}-paper + channel: ${{ env.MODRINTH_CHANNEL }} changelog: |- Please refer to the [GitHub release](https://github.com/m1sk9/LunaticChat/releases/tag/v${{ needs.validate.outputs.version }}) for update details. - loaders: |- - paper - velocity - game-versions: "1.21.x" - files: |- - platform-paper/build/libs/${{ needs.validate.outputs.paper_jar_name }} - platform-velocity/build/libs/${{ needs.validate.outputs.velocity_jar_name }} + loaders: paper + game-versions: ${{ env.MODRINTH_GAME_VERSIONS }} + files: platform-paper/build/libs/${{ needs.validate.outputs.paper_jar_name }} + + - name: Publish to Modrinth (Velocity) + uses: cloudnode-pro/modrinth-publish@0a5268ad092d4727bb6424326746fa2fe88761ff # v2 + with: + token: ${{ secrets.MODRINTH_TOKEN }} + name: LunaticChat v${{ needs.validate.outputs.version }} (Velocity) + project: ${{ secrets.MODRINTH_PROJECT_ID }} + version: ${{ needs.validate.outputs.version }}-velocity + channel: ${{ env.MODRINTH_CHANNEL }} + changelog: |- + Please refer to the [GitHub release](https://github.com/m1sk9/LunaticChat/releases/tag/v${{ needs.validate.outputs.version }}) for update details. + loaders: velocity + game-versions: ${{ env.MODRINTH_GAME_VERSIONS }} + files: platform-velocity/build/libs/${{ needs.validate.outputs.velocity_jar_name }} -- cgit v1.2.1 From a563b772a630c2b4c64ba3bbe0a8c4684be2c43e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 10 Feb 2026 17:55:01 +0000 Subject: Update Modrinth release name format to v{version} ({Loader} {game-versions}) Co-authored-by: m1sk9 <82575685+m1sk9@users.noreply.github.com> --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b17aa91..471ee34 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -116,7 +116,7 @@ jobs: uses: cloudnode-pro/modrinth-publish@0a5268ad092d4727bb6424326746fa2fe88761ff # v2 with: token: ${{ secrets.MODRINTH_TOKEN }} - name: LunaticChat v${{ needs.validate.outputs.version }} (Paper) + name: v${{ needs.validate.outputs.version }} (Paper ${{ env.MODRINTH_GAME_VERSIONS }}) project: ${{ secrets.MODRINTH_PROJECT_ID }} version: ${{ needs.validate.outputs.version }}-paper channel: ${{ env.MODRINTH_CHANNEL }} @@ -130,7 +130,7 @@ jobs: uses: cloudnode-pro/modrinth-publish@0a5268ad092d4727bb6424326746fa2fe88761ff # v2 with: token: ${{ secrets.MODRINTH_TOKEN }} - name: LunaticChat v${{ needs.validate.outputs.version }} (Velocity) + name: v${{ needs.validate.outputs.version }} (Velocity ${{ env.MODRINTH_GAME_VERSIONS }}) project: ${{ secrets.MODRINTH_PROJECT_ID }} version: ${{ needs.validate.outputs.version }}-velocity channel: ${{ env.MODRINTH_CHANNEL }} -- cgit v1.2.1 From 8b6b44024b39cc9c6d3245cfc8825906ade0028b Mon Sep 17 00:00:00 2001 From: Sho Sakuma Date: Wed, 11 Feb 2026 02:58:13 +0900 Subject: ci: Add version prefix --- .github/workflows/release.yaml | 4 ++-- CHANGELOG.md | 4 ++++ build.gradle.kts | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 471ee34..e94cfff 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -116,7 +116,7 @@ jobs: uses: cloudnode-pro/modrinth-publish@0a5268ad092d4727bb6424326746fa2fe88761ff # v2 with: token: ${{ secrets.MODRINTH_TOKEN }} - name: v${{ needs.validate.outputs.version }} (Paper ${{ env.MODRINTH_GAME_VERSIONS }}) + name: v${{ needs.validate.outputs.version }} (Paper v${{ env.MODRINTH_GAME_VERSIONS }}) project: ${{ secrets.MODRINTH_PROJECT_ID }} version: ${{ needs.validate.outputs.version }}-paper channel: ${{ env.MODRINTH_CHANNEL }} @@ -130,7 +130,7 @@ jobs: uses: cloudnode-pro/modrinth-publish@0a5268ad092d4727bb6424326746fa2fe88761ff # v2 with: token: ${{ secrets.MODRINTH_TOKEN }} - name: v${{ needs.validate.outputs.version }} (Velocity ${{ env.MODRINTH_GAME_VERSIONS }}) + name: v${{ needs.validate.outputs.version }} (Velocity v${{ env.MODRINTH_GAME_VERSIONS }}) project: ${{ secrets.MODRINTH_PROJECT_ID }} version: ${{ needs.validate.outputs.version }}-velocity channel: ${{ env.MODRINTH_CHANNEL }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ec85b1..6ebe45c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## v0 +### v0.8.1 + +- Modrinth releases are now split per Loader. + ### v0.8.0 - Velocity integration is now available. diff --git a/build.gradle.kts b/build.gradle.kts index ff77339..b0155d3 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -14,7 +14,7 @@ plugins { allprojects { group = "dev.m1sk9" - version = "0.8.0" + version = "0.8.1" repositories { mavenCentral() -- cgit v1.2.1