Skip to content

Allow releases from all Minecraft target branches - #498

Merged
SkyBlade1978 merged 1 commit into
MinecraftModDevelopmentMods:master-1.12from
SkyBlade1978:feature/release-target-support
Oct 4, 2026
Merged

SkyBlade1978 merged 1 commit into
MinecraftModDevelopmentMods:master-1.12from
SkyBlade1978:feature/release-target-support

Conversation

@SkyBlade1978

Copy link
Copy Markdown
Contributor

The release action found the 1.13 branch correctly, then rejected it because a later check only allowed 1.12 and 1.18. This removes that restriction and uses each target branch's release metadata instead.

  • Support OreSpawn's Forge and NeoForge branch naming, including 26.x targets, without adding a new allowlist entry for every port.
  • Keep the pinned Java 17 Gradle runtime for legacy ports and validate the game and Gradle Java selectors separately.
  • Read the required OreSpawn relation from modern port metadata without adding MMDLib. The 1.12 release still requires both mods.
  • Clean NeoForge builds separately, matching OreSpawn's release workflow.
  • Keep the repository, version, prior-CI, tag, checksum and publication-confirmation guards in place.

Added tests which run the workflow's actual Bash with local GitHub stubs. The unchanged workflow failed for 1.13; the corrected workflow passes the Forge/NeoForge target matrix and rejection tests. All 42 local tests, check/build/Javadoc, release artifact auditing and actionlint pass. No gameplay code has changed.

The release guide explains how future target branches supply their metadata and verified dependency staging.

@SkyBlade1978
SkyBlade1978 merged commit cc3259a into MinecraftModDevelopmentMods:master-1.12 Oct 4, 2026
5 checks passed
@SkyBlade1978
SkyBlade1978 deleted the feature/release-target-support branch October 4, 2026 22:12
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