Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v4
- name: Create draft from curated notes
- name: Create draft from curated and generated notes
env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
Expand All @@ -44,7 +44,7 @@ jobs:
if gh release view "$RELEASE_TAG" --json id > /dev/null 2>&1; then
echo "Release already exists; leaving it unchanged."
else
gh release create "$RELEASE_TAG" --verify-tag --draft \
gh release create "$RELEASE_TAG" --verify-tag --draft --generate-notes \
--title "Minecraft Source Kit $RELEASE_TAG" \
--notes-file "docs/releases/$RELEASE_TAG.md"
fi
2 changes: 1 addition & 1 deletion docs/UPDATING.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ git tag -a v0.1.0 -m "Release v0.1.0"
git push origin v0.1.0
```

The `release.yml` workflow runs for `v*` tags. It accepts only stable `vMAJOR.MINOR.PATCH` tags, checks the version, date, notes file, and that the tagged commit is on `main`, runs the existing four-job unit-test matrix, then creates a draft GitHub Release from the curated notes file. Review the draft and publish it manually; select Latest manually as appropriate. Never move a tag. If a workflow run fails, inspect it and rerun the same tag workflow after a transient failure; content corrections require a new corrected release tag and version. Do not poll CI from an agent; report the pending run for the user to check. A rerun skips release creation if that release already exists. GitHub's standard source ZIP and tar archives are the only source archives; do not add custom binaries or Minecraft caches.
The `release.yml` workflow runs for `v*` tags. It accepts only stable `vMAJOR.MINOR.PATCH` tags, checks the version, date, notes file, and that the tagged commit is on `main`, runs the existing four-job unit-test matrix, then creates a draft GitHub Release with the curated notes followed by GitHub's autogenerated pull request, contributor, and changelog section. Keep `CHANGELOG.md` manually maintained. Review the draft and publish it manually; select Latest manually as appropriate. Do not press **Generate release notes** again, to avoid replacing the reviewed body or duplicating generated sections. Never move a tag. If a workflow run fails, inspect it and rerun the same tag workflow after a transient failure; content corrections require a new corrected release tag and version. Do not poll CI from an agent; report the pending run for the user to check. A rerun skips release creation if that release already exists. GitHub's standard source ZIP and tar archives are the only source archives; do not add custom binaries or Minecraft caches.

Do not include Minecraft inputs, reconstructed sources, or local tool caches.

Expand Down
Loading