Skip to content

ci: cherry-pick release pipeline improvements#222

Merged
mohammeds1992 merged 6 commits intoaudit-fixesfrom
cherry/release-pipeline-onto-audit-fixes
May 6, 2026
Merged

ci: cherry-pick release pipeline improvements#222
mohammeds1992 merged 6 commits intoaudit-fixesfrom
cherry/release-pipeline-onto-audit-fixes

Conversation

@mohammeds1992
Copy link
Copy Markdown
Contributor

Cherry-picks the 6 release-pipeline commits from PR #221 onto `audit-fixes`. No code changes from the originals — all applied cleanly with no conflicts.

Commits (chronological)

  1. `e801fb2a` ci: add puniversald release workflow
  2. `ee2c9647` ci: build go-dkls explicitly on macOS for puniversald
  3. `94c047b9` ci: build go-dkls from workspace root on macOS
  4. `3ce65e13` ci: simplify release workflow_dispatch UI
  5. `438586ba` ci: tag HEAD instead of stale COMMIT_REF in puniversald workflow
  6. `34cd8f60` ci: include cosmovisor upgrade-info JSON in pchaind release notes

Net effect

  • New `.github/workflows/release-universal.yml` for puniversald releases (mirrors `release.yml`, end-to-end tested via tag/dispatch — verified release at `puniversald/v0.0.1-rc5`).
  • `release.yml`: simplified `workflow_dispatch` UI (3 controls instead of 6) and now publishes a Cosmovisor `upgrade-info` JSON block in each release's notes.

Test plan

  • Confirm `release-universal.yml` shows up under Actions after merge.
  • After next tagged pchaind release on this branch, verify the release notes include the new "Cosmovisor upgrade-info" JSON section.

Mirrors release.yml for the puniversald binary. Triggers on tags
matching puniversald/v* (independent from chain releases on v*) and
supports manual dispatch. Builds linux/amd64, linux/arm64, and
darwin/arm64 with Apple signing + notarization.
puniversald links libgodkls (via universalClient/tss/dkls) but the
workspace-root cargo build skips the go-dkls crate. Mirror the Linux
build by entering wrapper/go-dkls and adding the hd-migration path
patch so the local garbling tree is used (no GitHub auth in cargo).
cd-ing into wrapper/go-dkls picks up a .cargo/config.toml that
injects `-Wl,-soname=...` (Linux-only ld flag) into every link
command — including build-script compiles — failing on macOS.
Use `cargo build -p go-dkls --release` from dkls23-rs root so the
wrapper config stays out of scope.
Drop the branch, commit_id, and compare_from inputs from both
pchaind and puniversald release workflows. The dispatch form now
shows just the version tag and pre-release toggle alongside the
built-in 'Use workflow from' branch dropdown.

Removed the resolve-ref steps (checkout uses github.ref by default)
and dropped commit_id plumbing from the tag-creation step (tags
HEAD of the dispatched branch). Changelog still auto-detects the
prior tag.
Companion to the previous dispatch-UI simplification. Removed the
COMMIT_REF plumbing but missed the git tag -a line that still
referenced the now-undefined variable, breaking workflow_dispatch.
Each pchaind release now publishes a ready-to-paste JSON payload
matching the format expected by `--upgrade-info` on a software-upgrade
governance proposal. URLs are constructed from the actual release tag
and the existing .sha256 companion files (single source of truth for
checksums), covering linux/amd64, linux/arm64, and darwin/arm64.
@mohammeds1992 mohammeds1992 merged commit 713ed32 into audit-fixes May 6, 2026
7 checks passed
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