Skip to content

feat(packaging): add Chocolatey package for Windows#53

Merged
vmvarela merged 2 commits intomasterfrom
issue-40/chocolatey-package
Mar 14, 2026
Merged

feat(packaging): add Chocolatey package for Windows#53
vmvarela merged 2 commits intomasterfrom
issue-40/chocolatey-package

Conversation

@vmvarela
Copy link
Owner

Summary

  • Add Chocolatey package files (packaging/chocolatey/): .nuspec manifest, chocolateyInstall.ps1 (dual-arch with SHA256 verification), chocolateyUninstall.ps1
  • Add package-choco CI job that builds .nupkg on windows-latest, uploads to GitHub Release, and optionally pushes to Chocolatey Community Repository (when CHOCOLATEY_API_KEY secret is set)
  • Update checksums job to depend on package-choco
  • Add choco install sql-pipe instructions to README

Acceptance Criteria

  • Create a Chocolatey .nuspec manifest with correct metadata
  • Create chocolateyInstall.ps1 script that downloads the correct binary from GitHub Releases
  • Package supports both x86 and x86_64 Windows architectures
  • choco install sql-pipe installs the binary and it is available in PATH
  • choco uninstall sql-pipe cleanly removes the binary
  • README updated with Chocolatey installation instructions
  • Package published to the Chocolatey Community Repository (or instructions for manual push)

Closes #40

- Create .nuspec manifest with package metadata
- Create chocolateyInstall.ps1 that downloads x86/x86_64 binaries
  from GitHub Releases with SHA256 verification
- Create chocolateyUninstall.ps1 for clean removal
- Add package-choco CI job (runs on windows-latest, builds .nupkg,
  uploads to GitHub Release, optionally pushes to Chocolatey repo)
- Update checksums job to include package-choco dependency
- Add Chocolatey install instructions to README

Closes #40
@github-actions github-actions bot added type:chore Maintenance, refactoring, tooling type:docs Documentation only labels Mar 14, 2026
- Fix secret detection: move CHOCOLATEY_API_KEY check to job-level env
  so the if-condition evaluates correctly (step-level env is not
  available at if-evaluation time)
- Replace deprecated licenseUrl with license element in .nuspec
- Add VERIFICATION.txt per Chocolatey Community Repository guidelines
@vmvarela vmvarela merged commit e7699df into master Mar 14, 2026
5 checks passed
@vmvarela vmvarela deleted the issue-40/chocolatey-package branch March 14, 2026 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:chore Maintenance, refactoring, tooling type:docs Documentation only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Chocolatey package for Windows

1 participant