ci: rework release workflow as tag-triggered pipeline#12
Merged
Conversation
5f89c0d to
354c3c3
Compare
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.
354c3c3 to
a0d181f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Reworks
release.ymlto conform to the umbrella SDK release pipeline contract (u5c-factory→reference/sdk-pipeline-requirements.md).v*version tagverify→build→test→publish, each gating the nextverifyjob checks the pushed tag against theutxorpc-clientandutxorpc-servercabal versions and fails the release on mismatch — the manifest is the source of truth; the workflow never edits itThe shared protoc-install and Stack-cache steps are extracted into a
setup-haskellcomposite action.Haskell carve-out: the haskell-sdk packages use independent
0.0.xnumbering; thev*tag must match the version the.cabalfiles declare.Verification
Workflow YAML syntactically validated only. Not executed this session.
Operational prerequisite
The
HACKAGE_REGISTRY_TOKENrepository/org secret (a Hackage API key) must exist before the first release.