Skip to content

build: automate draft releases from version tags - #12

Merged
Lightre merged 1 commit into
mainfrom
build/tag-draft-release
Oct 23, 2026
Merged

Lightre merged 1 commit into
mainfrom
build/tag-draft-release

Conversation

@Lightre

@Lightre Lightre commented Oct 23, 2026

Copy link
Copy Markdown
Owner

Create a draft GitHub Release when a stable version tag is pushed. Validate the tag against the CLI version, a dated changelog entry, curated release notes, and main-branch ancestry before running the existing four-job test matrix through workflow_call.

Only the draft job receives contents:write. Releases are created with --verify-tag and --draft, using the checked-in notes. Existing releases are left unchanged on reruns; no Minecraft files or tool caches are uploaded. Publishing and Latest selection remain manual.

Document the maintainer PR/tag sequence and use a versioned absolute guide link in the release body.

Validation: 102 unit tests passed locally, including invalid tags, version mismatches, missing/invalid changelog dates, and missing/empty/mismatched release notes. Current v0.1.0 metadata validation and staged whitespace checks passed. The remote tag-triggered workflow has not yet been exercised; no tag or release was created.

@Lightre
Lightre merged commit 27eb4da into main Oct 23, 2026
4 checks passed
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