Skip to content

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

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

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

Conversation

@scarmuega

@scarmuega scarmuega commented May 21, 2026

Copy link
Copy Markdown
Member

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 utxorpc-client and utxorpc-server cabal versions and fails the release on mismatch — the manifest is the source of truth; the workflow never edits it
  • Publishes to Hackage

The shared protoc-install and Stack-cache steps are extracted into a setup-haskell composite action.

Haskell carve-out: the haskell-sdk packages use independent 0.0.x numbering; the v* tag must match the version the .cabal files declare.

Verification

Workflow YAML syntactically validated only. Not executed this session.

Operational prerequisite

The HACKAGE_REGISTRY_TOKEN repository/org secret (a Hackage API key) must exist before the first release.

@scarmuega scarmuega force-pushed the ci/release-pipeline branch from 5f89c0d to 354c3c3 Compare May 21, 2026 12:09
Reworks release.yml to conform to the umbrella SDK release pipeline contract (u5c-factory reference/sdk-pipeline.md): a v* version tag triggers verify -> build -> test -> publish. The verify job checks the pushed tag against the utxorpc-client and utxorpc-server cabal versions and fails the release if they disagree. The shared protoc-install and Stack-cache steps are extracted into a setup-haskell composite action.

Verification: workflow YAML syntactically validated only; not executed this session. Requires the HACKAGE_REGISTRY_TOKEN repository secret before the first release.
@scarmuega scarmuega force-pushed the ci/release-pipeline branch from 354c3c3 to a0d181f Compare May 21, 2026 12:28
@scarmuega scarmuega merged commit e611204 into main May 21, 2026
2 checks passed
@scarmuega scarmuega deleted the ci/release-pipeline branch May 21, 2026 12:39
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