Skip to content

ci: split chocolatey/winget out of release pipeline - #109

Merged
rianjs merged 1 commit into
mainfrom
ci/split-publish-workflows
May 8, 2026
Merged

ci: split chocolatey/winget out of release pipeline#109
rianjs merged 1 commit into
mainfrom
ci/split-publish-workflows

Conversation

@rianjs

@rianjs rianjs commented May 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Removes the embedded chocolatey and winget jobs from release.yml. Both already exist as standalone workflow_dispatch-only workflows (chocolatey-publish.yml, winget-publish.yml).
  • Mirrors the atlassian-cli pattern (open-cli-collective/atlassian-cli release-{cfl,jtk}.yml) so flaky Microsoft-hosted services don't gate the actual binary/Homebrew artifacts.

Why

The v1.0.40 release exposed this: the embedded winget job failed on wingetcreate's fork-sync error while the embedded chocolatey job ran fine — but both were marked `continue-on-error: true`, so they'd silently fail without anyone noticing. Splitting them out makes the failure mode loud and the retry path obvious (`gh workflow run winget-publish.yml -f version=X.Y.Z` after manually syncing the fork).

Test plan

  • Next release pushes binaries + Homebrew without touching chocolatey/winget
  • gh workflow run chocolatey-publish.yml -f version=<X> and gh workflow run winget-publish.yml -f version=<X> continue to work for manual publishes

Mirrors atlassian-cli's pattern: keep the release workflow focused on
goreleaser/snap/linux-packages so a flaky Microsoft-hosted publish step
(wingetcreate fork-sync, choco push) can't gate the actual binary and
Homebrew artifacts. The standalone chocolatey-publish.yml and
winget-publish.yml are workflow_dispatch-only and run manually after a
release lands.
@rianjs
rianjs merged commit b3cfda2 into main May 8, 2026
2 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