diff options
| -rw-r--r-- | .github/workflows/release.yaml | 35 | ||||
| -rw-r--r-- | CHANGELOG.md | 4 | ||||
| -rw-r--r-- | build.gradle.kts | 2 |
3 files changed, 29 insertions, 12 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f46c4e9..e94cfff 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: v${{ needs.validate.outputs.version }} (Paper v${{ env.MODRINTH_GAME_VERSIONS }}) 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: 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 }} + 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 }} 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() |
