summaryrefslogtreecommitdiff
path: root/website/src/ja/docs/developers
diff options
context:
space:
mode:
authorSho Sakuma <me@m1sk9.dev>2026-09-28 21:35:52 +0900
committerSho Sakuma <me@m1sk9.dev>2026-09-28 21:35:52 +0900
commit9bb1623c32c80da097f423c1ae3c96aa11372a43 (patch)
tree325901af2abe104ae24fb23b96de99256efdda5e /website/src/ja/docs/developers
parent780caea1697827548f2fd08ae2eb85f973187248 (diff)
downloadLunaticChat-9bb1623c32c80da097f423c1ae3c96aa11372a43.tar.gz
LunaticChat-9bb1623c32c80da097f423c1ae3c96aa11372a43.tar.bz2
LunaticChat-9bb1623c32c80da097f423c1ae3c96aa11372a43.zip
ci: tag each release with exactly one platform
A vX.Y.Z tag used to ship both JARs under the Paper version number, so the Velocity version never appeared in a tag. Changelog download links guessed paper/ and velocity/ tags that did not exist and returned 404, and the same JAR resurfaced under several releases. Paper now releases on vX.Y.Z and Velocity on velocity/vX.Y.Z, which matches the CHANGELOG.md headings one to one. Paper keeps the bare form rather than moving to paper/vX.Y.Z because the update checker in already-deployed Paper builds only understands that form. Both workflows call a shared reusable workflow, since the two had drifted into near-identical copies. Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'website/src/ja/docs/developers')
-rw-r--r--website/src/ja/docs/developers/resource.md18
1 files changed, 10 insertions, 8 deletions
diff --git a/website/src/ja/docs/developers/resource.md b/website/src/ja/docs/developers/resource.md
index 7bcc6c9..fec77c5 100644
--- a/website/src/ja/docs/developers/resource.md
+++ b/website/src/ja/docs/developers/resource.md
@@ -30,17 +30,19 @@ Paper と Velocity は別々のバージョン番号を持ち,独立にリリã
## リリースワークフロー
-タグのパターンでリリース対象が切り替わります.
+1 つのタグで 1 つのプラットフォームをリリースします.タグのパターンで対象が決まります.
| ワークフロー | トリガタグ | ビルド対象 | バージョン検証 |
|-------------|-----------|-----------|---------------|
-| `release.yaml` | `v*` | Paper + Velocity 両方 | gradle.properties から両バージョン抽出 |
-| `release-paper.yaml` | `paper/v*` | Paper のみ | タグと `paperVersion` の一致を必須検証 |
-| `release-velocity.yaml` | `velocity/v*` | Velocity のみ | タグと `velocityVersion` の一致を必須検証 |
-
-- 共通フロー: `validate` (既存リリースの重複チェック) → `build` (mise + Gradle setup, `shadowJar`) → `release` (`gh release create --draft` + Modrinth 公開)
-- 個別ワークフロー (paper / velocity) はタグと `gradle.properties` の厳密一致を要求する点が `release.yaml` と異なる
-- Modrinth の game-versions は Paper=`26.2.x` (loader: paper, folia),Velocity=`1.21.x` + `26.1.x` + `26.2.x` (loader: velocity)
+| `release-paper.yaml` | `vX.Y.Z` | Paper のみ | タグと `paperVersion` の一致を必須検証 |
+| `release-velocity.yaml` | `velocity/vX.Y.Z` | Velocity のみ | タグと `velocityVersion` の一致を必須検証 |
+
+- 両方を同時に出す場合は 2 つのタグをまとめて push する (`git push origin v1.5.0 velocity/v1.4.0`).GitHub Release もそれぞれ作られる
+- Paper が接頭辞なしの `vX.Y.Z` を使うのは,配布済みの Paper 版のアップデートチェッカーがこの形式しか解釈できないため
+- v1.5.0 より前は `vX.Y.Z` タグで両方をリリースしていた (`v1.0.0`,`v1.3.0`,`v1.4.0`).Paper 単独のリリースには `paper/vX.Y.Z` を使ったものもある.これらのタグはそのまま残している
+- どちらのワークフローも共通の `_release.yaml` を呼び出す: `validate` (タグの形式,`gradle.properties` との一致,既存リリースの重複チェック) → `build` (mise + Gradle setup,`shadowJar`) → `release` (`gh release create --draft` + Modrinth 公開)
+- GitHub Release は draft で作られる.Velocity のリリースは `--latest=false` を付けて公開し,リポジトリの Latest が Paper のリリースのままになるようにする
+- Modrinth の game-versions は Paper=`26.2.x` (loader: paper, folia),Velocity=`1.21.x` + `26.1.x` + `26.2.x` (loader: velocity).呼び出し側の各ワークフローで指定する
## CI