diff options
| author | Sho Sakuma <me@m1sk9.dev> | 2026-08-05 04:54:20 +0900 |
|---|---|---|
| committer | Sho Sakuma <me@m1sk9.dev> | 2026-08-05 04:54:20 +0900 |
| commit | 004cf9308b5d98737125509adee08b9018cce964 (patch) | |
| tree | 524c7dca26f35ba614d9a8397f2a060c3e6bf90c | |
| parent | 7e791eaef4e838f590585ab4dc3a3c0e6e7f0972 (diff) | |
| download | LunaticChat-004cf9308b5d98737125509adee08b9018cce964.tar.gz LunaticChat-004cf9308b5d98737125509adee08b9018cce964.tar.bz2 LunaticChat-004cf9308b5d98737125509adee08b9018cce964.zip | |
ci: link release notes to the English changelog pages
The links were written before the English pages existed, so GitHub and Modrinth
sent an international audience to Japanese notes. Both now point at the English
pages; the Japanese ones remain reachable from the site's own locale switch.
Also stops the changelog template from being served. It lives under `src/`, so
VitePress published it as a page of empty headings at /assets/changelog-default,
where it was reachable and indexable. `srcExclude` keeps it a template.
The tag table on the changelog overview claimed `vX.Y.Z` was last used for
v1.0.0 and retired, which contradicts release.yaml and the release skill still
supporting it; it now says what the tag is for.
Co-Authored-By: Claude <noreply@anthropic.com>
| -rw-r--r-- | .claude/skills/release/SKILL.md | 4 | ||||
| -rw-r--r-- | .github/workflows/release-paper.yaml | 4 | ||||
| -rw-r--r-- | .github/workflows/release-velocity.yaml | 4 | ||||
| -rw-r--r-- | .github/workflows/release.yaml | 8 | ||||
| -rw-r--r-- | website/.vitepress/config.mts | 4 | ||||
| -rw-r--r-- | website/src/changelog/overview.md | 2 | ||||
| -rw-r--r-- | website/src/ja/changelog/overview.md | 2 |
7 files changed, 16 insertions, 12 deletions
diff --git a/.claude/skills/release/SKILL.md b/.claude/skills/release/SKILL.md index 7b7ea29..1f3fc1e 100644 --- a/.claude/skills/release/SKILL.md +++ b/.claude/skills/release/SKILL.md @@ -57,8 +57,8 @@ allowed-tools: Bash(./gradlew *), Bash(git *), Bash(gh *), Read, Grep, WebFetch - **Release は draft で作成される**。JAR が添付されていることを確認したうえで、公開するかユーザーに確認する (`gh release edit {tag} --draft=false`) - 添付ファイル名が期待どおりであること (Paper は `LunaticChat-{version}.jar`、Velocity は `LunaticChat-{version}-velocity.jar`) 5. リリースノートのリンク先が存在することを確認する。Release と Modrinth の changelog はどちらもドキュメントサイトを指しているため、対応するページが未デプロイだとリンク切れになる: - - Paper: `https://lc.m1sk9.dev/ja/changelog/paper/v{paperVersion}` - - Velocity: `https://lc.m1sk9.dev/ja/changelog/velocity/v{velocityVersion}` + - Paper: `https://lc.m1sk9.dev/changelog/paper/v{paperVersion}` + - Velocity: `https://lc.m1sk9.dev/changelog/velocity/v{velocityVersion}` 6. Modrinth に該当バージョンが公開されているかユーザーに確認を依頼する (Modrinth のバージョン一覧は API トークンなしでは追えないため、ここは目視確認を頼む) ## 注意事項 diff --git a/.github/workflows/release-paper.yaml b/.github/workflows/release-paper.yaml index 69b68e0..3718163 100644 --- a/.github/workflows/release-paper.yaml +++ b/.github/workflows/release-paper.yaml @@ -100,7 +100,7 @@ jobs: "platform-paper/build/libs/$JAR_NAME" \ --title "v${VERSION} (Paper/Folia)" \ --draft \ - --notes "Release notes: [Paper/Folia v${VERSION}](https://lc.m1sk9.dev/ja/changelog/paper/v${VERSION})" + --notes "Release notes: [Paper/Folia v${VERSION}](https://lc.m1sk9.dev/changelog/paper/v${VERSION})" - name: Publish to Modrinth (Paper/Folia) uses: cloudnode-pro/modrinth-publish@8dc596b20b94959bf244180235d90729d05a674f # v2 @@ -111,7 +111,7 @@ jobs: version: ${{ needs.validate.outputs.version }} channel: ${{ env.MODRINTH_CHANNEL }} changelog: |- - Please refer to the [release notes](https://lc.m1sk9.dev/ja/changelog/paper/v${{ needs.validate.outputs.version }}) for update details. + Please refer to the [release notes](https://lc.m1sk9.dev/changelog/paper/v${{ needs.validate.outputs.version }}) for update details. loaders: |- paper folia diff --git a/.github/workflows/release-velocity.yaml b/.github/workflows/release-velocity.yaml index 82216a6..561e7ee 100644 --- a/.github/workflows/release-velocity.yaml +++ b/.github/workflows/release-velocity.yaml @@ -102,7 +102,7 @@ jobs: "platform-velocity/build/libs/$JAR_NAME" \ --title "v${VERSION} (Velocity)" \ --draft \ - --notes "Release notes: [Velocity v${VERSION}](https://lc.m1sk9.dev/ja/changelog/velocity/v${VERSION})" + --notes "Release notes: [Velocity v${VERSION}](https://lc.m1sk9.dev/changelog/velocity/v${VERSION})" - name: Publish to Modrinth (Velocity) uses: cloudnode-pro/modrinth-publish@8dc596b20b94959bf244180235d90729d05a674f # v2 @@ -113,7 +113,7 @@ jobs: version: ${{ needs.validate.outputs.version }}-velocity channel: ${{ env.MODRINTH_CHANNEL }} changelog: |- - Please refer to the [release notes](https://lc.m1sk9.dev/ja/changelog/velocity/v${{ needs.validate.outputs.version }}) for update details. + Please refer to the [release notes](https://lc.m1sk9.dev/changelog/velocity/v${{ needs.validate.outputs.version }}) for update details. loaders: velocity game-versions: ${{ env.MODRINTH_VELOCITY_GAME_VERSIONS }} files: platform-velocity/build/libs/${{ needs.validate.outputs.jar_name }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index bd0a692..c139272 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -105,8 +105,8 @@ jobs: cat > /tmp/release-notes.md <<EOF Release notes: - - [Paper/Folia v${PAPER_VERSION}](https://lc.m1sk9.dev/ja/changelog/paper/v${PAPER_VERSION}) - - [Velocity v${VELOCITY_VERSION}](https://lc.m1sk9.dev/ja/changelog/velocity/v${VELOCITY_VERSION}) + - [Paper/Folia v${PAPER_VERSION}](https://lc.m1sk9.dev/changelog/paper/v${PAPER_VERSION}) + - [Velocity v${VELOCITY_VERSION}](https://lc.m1sk9.dev/changelog/velocity/v${VELOCITY_VERSION}) EOF gh release create "$TAG_NAME" \ @@ -125,7 +125,7 @@ jobs: version: ${{ needs.validate.outputs.paper_version }} channel: ${{ env.MODRINTH_CHANNEL }} changelog: |- - Please refer to the [release notes](https://lc.m1sk9.dev/ja/changelog/paper/v${{ needs.validate.outputs.paper_version }}) for update details. + Please refer to the [release notes](https://lc.m1sk9.dev/changelog/paper/v${{ needs.validate.outputs.paper_version }}) for update details. loaders: |- paper folia @@ -141,7 +141,7 @@ jobs: version: ${{ needs.validate.outputs.velocity_version }}-velocity channel: ${{ env.MODRINTH_CHANNEL }} changelog: |- - Please refer to the [release notes](https://lc.m1sk9.dev/ja/changelog/velocity/v${{ needs.validate.outputs.velocity_version }}) for update details. + Please refer to the [release notes](https://lc.m1sk9.dev/changelog/velocity/v${{ needs.validate.outputs.velocity_version }}) for update details. loaders: velocity game-versions: ${{ env.MODRINTH_VELOCITY_GAME_VERSIONS }} files: platform-velocity/build/libs/${{ needs.validate.outputs.velocity_jar_name }} diff --git a/website/.vitepress/config.mts b/website/.vitepress/config.mts index 5237228..1d139d4 100644 --- a/website/.vitepress/config.mts +++ b/website/.vitepress/config.mts @@ -39,6 +39,10 @@ export default defineConfig({ }, }, outDir: './dist', + // Templates under assets/ are meant to be copied by hand when writing a new + // page, not served: changelog-default.md would otherwise publish a page of + // empty headings at /assets/changelog-default. + srcExclude: ['assets/**/*.md'], srcDir: 'src', themeConfig: { socialLinks: [ diff --git a/website/src/changelog/overview.md b/website/src/changelog/overview.md index 3e97de3..b0e4a97 100644 --- a/website/src/changelog/overview.md +++ b/website/src/changelog/overview.md @@ -38,7 +38,7 @@ Releases are cut with a tag naming the target. |-----|-----------------| | `paper/vX.Y.Z` | The Paper / Folia build only | | `velocity/vX.Y.Z` | The Velocity build only | -| `vX.Y.Z` | Both at once (v1.0.0 on 2026-04-04 was the last of these; it is no longer used) | +| `vX.Y.Z` | Both at once, for a change that affects them both — such as one in the shared `engine` module | ### The plugin version does not express compatibility diff --git a/website/src/ja/changelog/overview.md b/website/src/ja/changelog/overview.md index 108061d..3b03477 100644 --- a/website/src/ja/changelog/overview.md +++ b/website/src/ja/changelog/overview.md @@ -38,7 +38,7 @@ Paper / Folia 向けプラグインと Velocity 向けプラグインは独立 |------|-------------| | `paper/vX.Y.Z` | Paper / Folia 版のみ | | `velocity/vX.Y.Z` | Velocity 版のみ | -| `vX.Y.Z` | 両方同時 (2026-04-04 の v1.0.0 が最後で,以降は使用していません) | +| `vX.Y.Z` | 両方同時.共有モジュール `engine` の変更など,双方に影響する変更で使用します | ### プラグインバージョンは互換性を表しません |
