[PR #1911] [MERGED] ci: Add winget and Chocolatey packaging workflows #2698

Open
opened 2026-01-29 17:23:29 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/CCExtractor/ccextractor/pull/1911
Author: @cfsmp3
Created: 12/26/2025
Status: Merged
Merged: 12/26/2025
Merged by: @cfsmp3

Base: masterHead: packaging/winget-chocolatey


📝 Commits (1)

  • 353a370 ci: Add winget and Chocolatey packaging workflows

📊 Changes

9 files changed (+426 additions, -0 deletions)

View changed files

.github/workflows/publish_chocolatey.yml (+136 -0)
.github/workflows/publish_winget.yml (+38 -0)
packaging/README.md (+96 -0)
packaging/chocolatey/ccextractor.nuspec (+43 -0)
packaging/chocolatey/tools/chocolateyInstall.ps1 (+24 -0)
packaging/chocolatey/tools/chocolateyUninstall.ps1 (+23 -0)
packaging/winget/CCExtractor.CCExtractor.installer.yaml (+21 -0)
packaging/winget/CCExtractor.CCExtractor.locale.en-US.yaml (+39 -0)
packaging/winget/CCExtractor.CCExtractor.yaml (+6 -0)

📄 Description

Summary

Add automated package publishing for Windows package managers, addressing #1308.

Changes

Winget

  • Initial manifest files for CCExtractor.CCExtractor (in packaging/winget/)
  • publish_winget.yml workflow to auto-submit PRs to microsoft/winget-pkgs on release

Chocolatey

  • Package files: nuspec, install/uninstall scripts (in packaging/chocolatey/)
  • publish_chocolatey.yml workflow to build and push packages on release

Documentation

  • packaging/README.md with setup instructions

Setup Required

Secret Purpose
WINGET_TOKEN GitHub PAT with public_repo scope for winget PRs
CHOCOLATEY_API_KEY API key from chocolatey.org account

Test plan

  • Merge this PR
  • Trigger publish_chocolatey.yml workflow manually for v0.96.2
  • Verify package appears on Chocolatey after moderation

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/CCExtractor/ccextractor/pull/1911 **Author:** [@cfsmp3](https://github.com/cfsmp3) **Created:** 12/26/2025 **Status:** ✅ Merged **Merged:** 12/26/2025 **Merged by:** [@cfsmp3](https://github.com/cfsmp3) **Base:** `master` ← **Head:** `packaging/winget-chocolatey` --- ### 📝 Commits (1) - [`353a370`](https://github.com/CCExtractor/ccextractor/commit/353a37010d94f70bf464c399d1e2955a9833e223) ci: Add winget and Chocolatey packaging workflows ### 📊 Changes **9 files changed** (+426 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/publish_chocolatey.yml` (+136 -0) ➕ `.github/workflows/publish_winget.yml` (+38 -0) ➕ `packaging/README.md` (+96 -0) ➕ `packaging/chocolatey/ccextractor.nuspec` (+43 -0) ➕ `packaging/chocolatey/tools/chocolateyInstall.ps1` (+24 -0) ➕ `packaging/chocolatey/tools/chocolateyUninstall.ps1` (+23 -0) ➕ `packaging/winget/CCExtractor.CCExtractor.installer.yaml` (+21 -0) ➕ `packaging/winget/CCExtractor.CCExtractor.locale.en-US.yaml` (+39 -0) ➕ `packaging/winget/CCExtractor.CCExtractor.yaml` (+6 -0) </details> ### 📄 Description ## Summary Add automated package publishing for Windows package managers, addressing #1308. ## Changes ### Winget - Initial manifest files for `CCExtractor.CCExtractor` (in `packaging/winget/`) - `publish_winget.yml` workflow to auto-submit PRs to microsoft/winget-pkgs on release ### Chocolatey - Package files: nuspec, install/uninstall scripts (in `packaging/chocolatey/`) - `publish_chocolatey.yml` workflow to build and push packages on release ### Documentation - `packaging/README.md` with setup instructions ## Setup Required | Secret | Purpose | |--------|---------| | `WINGET_TOKEN` | GitHub PAT with `public_repo` scope for winget PRs | | `CHOCOLATEY_API_KEY` | API key from chocolatey.org account | ## Related - Initial winget submission: https://github.com/microsoft/winget-pkgs/pull/326399 - Closes #1308 ## Test plan - [ ] Merge this PR - [ ] Trigger `publish_chocolatey.yml` workflow manually for v0.96.2 - [ ] Verify package appears on Chocolatey after moderation 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 17:23:29 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#2698