Repository navigation
#210 publish beta builds to modrinth - #217
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No unresolved review comments were identified.
Pull request overview
Adds guarded beta publishing to Modrinth for releases/** branches while preserving alpha and release publishing.
Changes:
- Adds branch validation before tests.
- Adds beta Modrinth publishing and version metadata.
- Updates publishing documentation.
File summaries
| File | Description |
|---|---|
build.gradle |
Configures beta versioning and Modrinth metadata. |
AGENTS.md |
Documents the publishing matrix and guard. |
agent-context/context/architecture.md |
Updates CI and publishing architecture documentation. |
.github/workflows/publish.yml |
Restricts publishing branches and adds beta publishing. |
Review details
- Files reviewed: 3/4 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds beta publishing to Modrinth for
releases/**branches and restricts branch-dispatch publishing tomain/releases/**only (closes #210).Why
publish.ymlpreviously let any branch dispatch publish an alpha build and had no dedicated beta channel.releases/**branches (used for release-candidate hardening) should publish as beta, and publishing from arbitrary branches should be blocked.Changes
.github/workflows/publish.yml:mainorreleases/**(tag dispatches are exempt)releases/**branch dispatches, running-PisBetamainonlybuild.gradle:modrinth {}block gains anisBetabranch —versionType = "beta", version suffixed-beta(mirrors the existing-alpha/release branches)AGENTS.md/agent-context/context/architecture.md: docs updated to describe the new alpha/beta/release matrix and the branch guardTesting
publish.ymlagainstmain(expect alpha), areleases/**branch (expect beta), and an unrelated branch (expect the guard step to fail before tests run)