Skip to content

Port to Minecraft 1.21.8 + CI build & release workflow#4

Open
kiro-agent[bot] wants to merge 5 commits into
mc-1.21.4from
mc-1.21.8
Open

Port to Minecraft 1.21.8 + CI build & release workflow#4
kiro-agent[bot] wants to merge 5 commits into
mc-1.21.4from
mc-1.21.8

Conversation

@kiro-agent
Copy link
Copy Markdown

@kiro-agent kiro-agent Bot commented May 26, 2026

This pull request was created by @kiro-agent on behalf of @Fix85 👻

Comment with /kiro fix to address specific feedback or /kiro all to address everything.
Learn about Kiro autonomous agent


Port the mod to Minecraft 1.21.8 and add a CI workflow that builds the JAR and publishes a GitHub Release on tag push.

Changes

  • gradle.properties: minecraft 1.21.4 -> 1.21.8, fabric API 0.119.4+1.21.4 -> 0.130.0+1.21.8, mod_version 1.0.0 -> 1.0.0-mc1.21.8 (matches naming of the v1.0.0-mc1.21.4 release)
  • build.gradle: cloth-config-fabric 17.0.144 -> 19.0.147 (Fabric 1.21.6-8 build), modmenu 13.0.3 -> 15.0.0
  • fabric.mod.json: minecraft dependency ~1.21.4 -> ~1.21.8
  • README.md: version references updated
  • .github/workflows/build.yml: new workflow
    • builds on push to mc-** branches and on PRs (uploads JAR as artifact)
    • on tag push v<modVer>-mc<mcVer> publishes a Release with the JAR
    • title: PingDisplay v<modVer> for MC <mcVer>
    • body: Initial release for Minecraft <mcVer>

Tested

  • Initial CI build was green on a previous push of this branch. Tag v1.0.0-mc1.21.8 is now pushed to trigger the release.
  • Output JAR name: pingdisplay-1.0.0-mc1.21.8.jar (matches pingdisplay-1.0.0-mc1.21.4.jar from the existing 1.21.4 release).

Fix85 added 5 commits May 26, 2026 04:07
- minecraft_version: 1.21.4 -> 1.21.8
- fabric_version: 0.119.4+1.21.4 -> 0.130.0+1.21.8
- cloth-config-fabric: 17.0.144 -> 19.0.147 (Fabric 1.21.6-8 build)
- modmenu: 13.0.3 -> 15.0.0 (1.21.8 build)
- fabric.mod.json: minecraft dependency ~1.21.4 -> ~1.21.8
- README: update version references
- Builds JAR on push to mc-** branches and pull requests
- Uploads JAR as workflow artifact for every build
- On tag push (v*): publishes GitHub Release with the JAR attached
- Uses JDK 21 (Temurin)
For pull_request events github.ref_name resolves to 'PR_NUMBER/merge'
which contains a forward slash and is rejected by upload-artifact.
Use 'pr-N' for PR builds and ref_name for branch/tag builds.
- mod_version: 1.0.0 -> 1.0.0-mc1.21.8 so Loom outputs
  pingdisplay-1.0.0-mc1.21.8.jar (matches pingdisplay-1.0.0-mc1.21.4.jar
  naming used in the v1.0.0-mc1.21.4 release)
- GitHub Release title prefixed with 'PingDisplay' to match
  'PingDisplay v1.0.0 for MC 1.21.4' style
Parse mod version and MC version from the tag (format
v<modVer>-mc<mcVer>) and use them to produce a release identical
to the 1.21.4 one:
  Title: PingDisplay v1.0.0 for MC 1.21.8
  Body:  Initial release for Minecraft 1.21.8
@kiro-agent kiro-agent Bot mentioned this pull request May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant