-
Notifications
You must be signed in to change notification settings - Fork 1
feat(ci): Add automated Chocolatey publishing to release workflow #37
Copy link
Copy link
Closed
Description
Summary
Extend the release workflow to automatically publish to Chocolatey on new releases, plus add a manual retry workflow.
Changes
- Add
chocolateyjob to.github/workflows/release.yml - Create
.github/workflows/chocolatey-publish.ymlfor manual publishing - Document
CHOCOLATEY_API_KEYsecret requirement
Workflow logic
- Wait for goreleaser job to complete
- Download
checksums.txtfrom release - Extract Windows amd64 and arm64 hashes
- Inject checksums into install script (replace placeholders)
- Update version in nuspec
- Run
choco pack - Run
choco pushwith API key
Files to modify/create
.github/workflows/release.yml(add chocolatey job).github/workflows/chocolatey-publish.yml(new)
Required secrets
| Secret | How to Obtain |
|---|---|
CHOCOLATEY_API_KEY |
https://community.chocolatey.org/account |
Acceptance criteria
- Release workflow includes Chocolatey publishing job
- Manual workflow allows re-publishing specific versions
- Package successfully submitted to Chocolatey (may take 1-3 days for initial moderation)
Dependencies
- Depends on feat(build): Add Windows amd64 and arm64 builds to GoReleaser #35 (Windows builds)
- Depends on feat(packaging): Add Chocolatey package scaffolding #36 (Chocolatey scaffolding)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels