Skip to content

docs: clarify release validation steps - #235

Merged
samzong merged 1 commit into
mainfrom
docs/release-skill-prerelease
Nov 10, 2026
Merged

samzong merged 1 commit into
mainfrom
docs/release-skill-prerelease

Conversation

@samzong

@samzong samzong commented Nov 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Create annotated release tags whose message is the version. Push the explicit tag ref and verify that its peeled commit matches HEAD.
  • Run go mod tidy after replacing the runtime in all four starter checks.
  • Use --force --dry-run for the user-scope Skill preview. The install plan accepts --force, then returns before writing in dry-run mode.
  • Document prerelease handling. Verify that the release is marked as a prerelease and that releases/latest still points to the tag recorded before publishing.
  • Use the latest non-draft release returned by gh release list as BASELINE. Include prereleases unless the user sets another baseline.

Verification

  • All four starter checks passed with Go 1.26 after runtime replacement and go mod tidy: Node pnpm check; Go, Python, and Rust make check.
  • All 15 Bash code blocks passed bash -n.
  • make check passed with Go 1.26; lint reported 0 issues.
  • A local bare repository test confirmed that git push origin "refs/tags/$VERSION" succeeds when a branch has the same name as the tag. The remote peeled tag ref matched HEAD.
  • gh release list --exclude-drafts --limit 1 --json tagName -q '.[0].tagName' returned v0.7.0-rc.1.
  • --force --dry-run behavior was checked against the CLI help and implementation. The dry-run path returns before the install call.

The publish code blocks do not use set -e. The peeled-tag test is followed by gh run list, so a failed tag comparison does not set the block's final exit code. The prerelease-status test is followed by the latest-release comparison, so its failure also may not set the block's final exit code. test itself prints no output. A rejected git push prints its error. A changed releases/latest makes the final test exit nonzero. A follow-up improvement is to move gh run list before the tag test and chain the prerelease checks with &&.

Not verified: a complete real tag push and Release flow; the baseline command when the repository has no releases; and release ordering for an older-commit backport. gh release list orders releases by creation time, so an older-commit release published later may not be first.

Compatibility

None.

Checklist

  • Tests or focused verification cover the changed surface.
  • User-facing behavior changes are documented.
  • Generated output under internal/generated/, .cache/, and ad-hoc skills/<cli-name>/ directories is not committed.
  • Commits are signed off when this is ready to merge.

Signed-off-by: samzong <samzong.lu@gmail.com>
@ghfind-review ghfind-review Bot added the review: top ghfind author score; see https://ghfind.com label Nov 10, 2026
@samzong samzong closed this Nov 10, 2026
@samzong samzong reopened this Nov 10, 2026
@samzong
samzong marked this pull request as ready for review November 10, 2026 18:02
@samzong
samzong merged commit e47b58b into main Nov 10, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review: top ghfind author score; see https://ghfind.com

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant