Skip to content

ci: add tag-triggered release workflow#37

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

ci: add tag-triggered release workflow#37
scarmuega merged 1 commit into
mainfrom
ci/release-pipeline

Conversation

@scarmuega
Copy link
Copy Markdown
Member

@scarmuega scarmuega commented May 21, 2026

What

Adds a release.yml workflow conforming 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 Cargo.toml crate version and fails the release on mismatch — the manifest is the source of truth; the workflow never edits it
  • Publishes to crates.io

Verification

Workflow YAML syntactically validated only. Not executed and the crate not built this session — the pipeline can only be exercised by a real tag push.

Operational prerequisite

The CARGO_REGISTRY_TOKEN repository/org secret (a crates.io API token) must exist before the first release.

Adds a release workflow conforming to the umbrella SDK release pipeline contract (u5c-factory reference/sdk-pipeline-requirements.md): a v* version tag triggers build -> test -> publish, the crate version is derived from the tag, and the crate is published to crates.io.

Verification: workflow YAML syntactically validated only; not executed and the crate not built this session. Requires the CARGO_REGISTRY_TOKEN repository secret before the first release.
@scarmuega scarmuega merged commit e41195f into main May 21, 2026
2 checks passed
scarmuega added a commit that referenced this pull request May 21, 2026
rust-sdk release.yml merged (#37) before the umbrella contract settled on
manifest-as-source-of-truth versioning. Bring it in line with the other SDKs:

- Add a verify job that checks the pushed tag equals the Cargo.toml version
  and fails fast on mismatch, before build/test/publish.
- Drop the step that rewrote Cargo.toml from the tag; cargo publish no longer
  needs --allow-dirty.
- Point the umbrella contract comment at the renamed reference/sdk-pipeline.md.

Verification: workflow YAML syntactically validated only; not executed.
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