summaryrefslogtreecommitdiff
path: root/.github/workflows/release.yaml
diff options
context:
space:
mode:
authorSho Sakuma <me@m1sk9.dev>2026-03-26 06:20:35 +0900
committerSho Sakuma <me@m1sk9.dev>2026-03-26 06:20:52 +0900
commitb0e13d04de476cd90eacf59c33e680593d8df0b8 (patch)
tree2eae0deaed3a701bf6ab56c6a7103b479c624a33 /.github/workflows/release.yaml
parent74124f8b6317e2f361ed3389b2bc4e3bab2ba270 (diff)
downloadLunaticChat-b0e13d04de476cd90eacf59c33e680593d8df0b8.tar.gz
LunaticChat-b0e13d04de476cd90eacf59c33e680593d8df0b8.tar.bz2
LunaticChat-b0e13d04de476cd90eacf59c33e680593d8df0b8.zip
ci: Support Nightly release CI
Diffstat (limited to '.github/workflows/release.yaml')
-rw-r--r--.github/workflows/release.yaml28
1 files changed, 26 insertions, 2 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 6360327..c134538 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -81,7 +81,7 @@ jobs:
permissions:
contents: write
env:
- MODRINTH_CHANNEL: beta
+ MODRINTH_CHANNEL: release
MODRINTH_GAME_VERSIONS: "1.21.x"
MODRINTH_MC_VERSION: "1.21.11"
steps:
@@ -106,12 +106,36 @@ jobs:
PAPER_JAR_NAME=${{ needs.validate.outputs.paper_jar_name }}
VELOCITY_JAR_NAME=${{ needs.validate.outputs.velocity_jar_name }}
+ cat > /tmp/release-notes.md <<EOF
+ LunaticChat v${VERSION} has been released.
+
+ ## Download
+
+ - [GitHub](https://github.com/m1sk9/LunaticChat/releases/tag/v${VERSION})
+ - Modrinth: [Paper/Folia](https://modrinth.com/plugin/lunaticchat/version/${VERSION}), [Velocity](https://modrinth.com/plugin/lunaticchat/version/${VERSION}-velocity)
+
+ ## What's new
+
+ ### Highlights
+
+ ### New Features
+
+ ### Improvements
+
+ ### Changes
+
+ ### Bug Fixes
+
+ ### Notes
+
+ EOF
+
gh release create "$TAG_NAME" \
"platform-paper/build/libs/$PAPER_JAR_NAME" \
"platform-velocity/build/libs/$VELOCITY_JAR_NAME" \
--title "$TAG_NAME" \
--draft \
- --notes ""
+ --notes-file /tmp/release-notes.md
- name: Publish to Modrinth (Paper/Folia)
uses: cloudnode-pro/modrinth-publish@0be4916ad5f081d936eb5615aa35ce3f0949979c # v2