Skip to content

ci: require release tags to match package version - #24

Merged
rogerchappel merged 4 commits into
mainfrom
agent/oss-a20503d0f953-release-tag-version-guard
Aug 17, 2026
Merged

rogerchappel merged 4 commits into
mainfrom
agent/oss-a20503d0f953-release-tag-version-guard

Conversation

@rogerchappel

Copy link
Copy Markdown
Owner

Summary

  • add an executable release-tag verifier that requires GITHUB_REF_NAME to equal v${package.json.version}
  • run the guard before release tooling and artifact creation, with a static release-contract check for ordering
  • cover matching, mismatching, and missing tags and document the maintainer contract

Commits

  • test: cover release tag version verification
  • feat: verify release tag against package version
  • ci: guard release artifacts with tag verification
  • docs: document release tag version contract

Verification

  • npm ci
  • npm run release:check (21 tests, typecheck, build, CLI smoke, package smoke, release contract)
  • bash scripts/validate.sh
  • git diff --check origin/main...HEAD

All commits are authored and committed by Roger Chappel miscanalysis@gmail.com.

@rogerchappel
rogerchappel merged commit bbcdf3f into main Aug 17, 2026
2 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