Repository navigation
docs-kit: the kit as a release file (kit-v2.0.0) - #223
Merged
Merged
Conversation
Assisted-by: Claude Code
Assisted-by: Claude Code
… the release of the tag Assisted-by: Claude Code
Assisted-by: Claude Code
Assisted-by: Claude Code
…gain The compare and the install of the release file ran in the release job, with the write token, after `gh release create`: a run again of a failed check stopped at the release that exists. They are now a `check` job that only reads. The README says what to do for each failed job. Assisted-by: Claude Code
This was referenced Dec 5, 2026
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.
Link to issue: #222
What
A site installs the kit from one file on the GitHub Release of the kit tag, not from the GitHub repository:
docs-kit/scripts/checks.mjs: thepincheck accepts only the release address, and the version of the file must be the version of the tag (releaseAddress(version)).docs-kit/scripts/release-notes.mjs: the notes of a kit version, fromdocs-kit/CHANGELOG.md..github/workflows/docs-kit-release.yml(new), on the push of akit-v*tag:release(contents: write, the token only in the release step): it checks that the tag is the kit version, packs the kit (pnpm pack), and makes the release with the file and the notes;check(contents: read): it packs the kit again, compares the file at the release address with the packed file byte by byte, then installs a new site of the starter from that address (a new lock, then an install from the lock into an empty store). A failed check can run again..github/workflows/docs-kit.yml: theinstalljob builds and checks a copy of the fixture with the packed kit of the commit. Thesitesjob (check-sites.mjs) also installs the packed kit.kit-v2.0.0: the starter pins the release address;docs-kit/CHANGELOG.md(1.1.0 dated); the two READMEs (the release steps, and what to do when a job of the release workflow fails).Review
pnpm install --force,pnpm build,pnpm test(checks 11, problems 0),pnpm lint:docs,nimbus check,pnpm typecheck(0 errors).installjob, run locally: pass. Withscriptsleft out of thefileslist ofdocs-kit/package.json, the job fails (ERR_MODULE_NOT_FOUND).kit-v1.1.0: the tag check, the pack and the notes. A wrong tag stops the job. Two packs of the same commit give the same bytes.checkjob).After the merge
git tag kit-v2.0.0 <merge commit>, thengit push origin kit-v2.0.0.kit-v2.0.0withphalcon-docs-kit-2.0.0.tgz. If itscheckjob fails because of the network, run the failed job again.No site on
masteris on the kit yet. The cli-options-parser site (phalcon/cli-options-parser#71, onkit-v1.1.0) moves to the release address after the release.