Repository navigation
docs-kit: the release job checks more before the release - #225
Merged
Merged
Conversation
- Check the tag: an error message for a wrong tag, and the starter must pin the release of the tag, before the release (the check job did it after). - Make the release: `--verify-tag`, the exact file name of the compare, and the job fails when the release can change (release immutability is off). - The install job also runs typecheck, lint:docs and nimbus check with the packed kit, as the CI of a site does. - README: the failure cases, and the tag ruleset `kit-tags`. Assisted-by: Claude Code
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: #224
What
The points of the review of #223. The kit file does not change: the fixes apply from the next release, and no kit version is necessary.
.github/workflows/docs-kit-release.yml, jobrelease:Check the tag: a wrong tag fails with::error::the tag must be kit-vX.Y.Z, the version of docs-kit/package.json; thendocs-kit/starter/new/package.jsonmust pin the release address of the tag. Both checks are before the release (the starter check was in thecheckjob, after the release).Make the release:gh release createwith--verify-tagand the exact file namephalcon-docs-kit-X.Y.Z.tgz(the file of the compare); then the step fails when the release can change (isImmutableis nottrue)..github/workflows/docs-kit.yml, jobinstall: afterpnpm buildandpnpm test, alsopnpm typecheck,pnpm lint:docsandpnpm exec docs-kit nimbus checkwith the packed kit, as the CI of a site does.README.md: what the release job checks, the failure case "the release can change", and the tag rulesetkit-tags(only an organization admin can create, move or delete akit-v*tag).Review
Check the tag, run locally:kit-v2.0.0passes;kit-v9.9.9fails with its message; a starter that pinskit-v1.1.0fails with its message.kit-v2.0.0passes,kit-v1.1.0(not immutable) fails.installjob, run locally: pass (checks 11, problems 0; typecheck 0 errors; lint and nimbus check pass).kit-tags: active onrefs/tags/kit-v*(creation, update, deletion, force push), bypass: organization admin.