Skip to content

fix: validate release tags before publishing - #135

Merged
D3f0 merged 1 commit into
mainfrom
fix/release-publish-guards
Aug 18, 2026
Merged

fix: validate release tags before publishing#135
D3f0 merged 1 commit into
mainfrom
fix/release-publish-guards

Conversation

@D3f0

@D3f0 D3f0 commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • reject release tags outside canonical lowercase vMAJOR.MINOR.PATCH form
  • fetch current origin/main and require the release tag to resolve to that commit
  • check that dynamic versioning resolves exactly to the validated tag version before publishing

Verification

  • uv run pytest tests/test_release_guard.py -v
  • COLUMNS=200 uv run nox
  • actionlint .github/workflows/publish-releases.yaml .github/workflows/test-release-and-publish.yaml .github/workflows/releases.yaml

@D3f0
D3f0 merged commit 955cbef into main Aug 18, 2026
4 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