summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSho Sakuma <me@m1sk9.dev>2026-02-11 03:02:53 +0900
committerGitHub <noreply@github.com>2026-02-11 03:02:53 +0900
commit0032eeeb52492070f34faeba2b2ab62250e777ca (patch)
tree7c9604004d17c5cb97bb832a0064ffbefde8904f
parent0dcdbc0f718fe95a8e5cc0750a8b111d9e5aa67e (diff)
parent8b6b44024b39cc9c6d3245cfc8825906ade0028b (diff)
downloadLunaticChat-0032eeeb52492070f34faeba2b2ab62250e777ca.tar.gz
LunaticChat-0032eeeb52492070f34faeba2b2ab62250e777ca.tar.bz2
LunaticChat-0032eeeb52492070f34faeba2b2ab62250e777ca.zip
Merge pull request #98 from m1sk9/copilot/update-release-workflow-paper-velocity
ci: Split Modrinth releases by platform and standardize naming
-rw-r--r--.github/workflows/release.yaml35
-rw-r--r--CHANGELOG.md4
-rw-r--r--build.gradle.kts2
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()