Skip to content

ci: rework release workflow as tag-triggered pipeline#10

Merged
scarmuega merged 1 commit into
mainfrom
ci/release-pipeline
May 21, 2026
Merged

ci: rework release workflow as tag-triggered pipeline#10
scarmuega merged 1 commit into
mainfrom
ci/release-pipeline

Conversation

@scarmuega
Copy link
Copy Markdown
Member

@scarmuega scarmuega commented May 21, 2026

What

Reworks release.yml to conform to the umbrella SDK release pipeline contract (u5c-factoryreference/sdk-pipeline-requirements.md).

  • Triggered by pushing a v* version tag
  • Runs verifybuildtestpublish, each gating the next
  • The verify job checks the pushed tag against the pyproject.toml version and fails the release on mismatch — the manifest is the source of truth; the workflow never edits it
  • Publishes to PyPI

Fixes a broken workflow: the previous release.yml referenced an undefined inputs.registry-token in a non-workflow_call workflow, so the PyPI token always resolved empty. It also had no checkout, build, or test.

Verification

Workflow YAML syntactically validated only. Not executed this session.

Notes

  • Based on main, independent of the in-flight fix/spec-0.19-protobuf branch.
  • Operational prerequisite: the PYPI_REGISTRY_TOKEN repository/org secret (a PyPI API token) must exist before the first release.

Reworks release.yml to conform to the umbrella SDK release pipeline contract (u5c-factory reference/sdk-pipeline-requirements.md): a v* version tag triggers verify -> build -> test -> publish. The verify job checks the pushed tag against the pyproject.toml version and fails the release if they disagree. Also fixes the previous workflow, which referenced an undefined inputs.registry-token in a non-workflow_call workflow so the PyPI token always resolved empty.

Verification: workflow YAML syntactically validated only; not executed this session. Requires the PYPI_REGISTRY_TOKEN repository secret before the first release. Based on main, independent of the in-flight spec-0.19 branch.
@scarmuega scarmuega force-pushed the ci/release-pipeline branch from dab9811 to dc9f7f9 Compare May 21, 2026 12:09
@scarmuega scarmuega merged commit 751d6dc into main May 21, 2026
2 checks passed
@scarmuega scarmuega deleted the ci/release-pipeline branch May 21, 2026 12:15
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