Skip to content

ci(release): add CalVer release guards and cut-sdk-release workflow - #106

Open
gsmith85 wants to merge 1 commit into
mainfrom
feat/calver-release-workflows
Open

gsmith85 wants to merge 1 commit into
mainfrom
feat/calver-release-workflows

Conversation

@gsmith85

@gsmith85 gsmith85 commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Hardens the PyPI publishing workflow with pre-publish release guards and adds a manual dispatch workflow for cutting and tagging forward-only CalVer SDK releases (YYYYMMDD.MINOR.PATCH, ucp#909).

  • Updates the PyPI release workflow to check out full git history, verify that the release tag matches vYYYYMMDD.MINOR.PATCH (YYYYMMDD >= 20261001), confirm that pyproject.toml and ucp-lock.json match the target release epoch and channel, assert release branch ancestry, and verify unit tests and zero model drift against the locked specification commit before building and publishing.
  • Adds cut-sdk-release.yml (workflow_dispatch) to create or update release/YYYY-MM-DD branches, regenerate models and ucp-lock.json against the UCP release branch, bump YYYYMMDD.MINOR.PATCH (initial, patch, or minor), run unit tests and package build checks, and publish tagged GitHub Releases using the ucp-automation GitHub App token so the PyPI publish workflow triggers automatically.

@damaz91 damaz91 added the status:needs-triage Signal that the PR is ready for human triage label Nov 5, 2026
@gsmith85
gsmith85 force-pushed the feat/calver-release-workflows branch from 45c7c5a to 8fc520e Compare November 5, 2026 05:41
@gsmith85
gsmith85 force-pushed the feat/calver-release-workflows branch from 8fc520e to 0c5a6a4 Compare November 5, 2026 05:45

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status:needs-triage Signal that the PR is ready for human triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants