mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
Update version number across all packaging and build files for the 0.96.5 release. Files updated: - docs/CHANGES.TXT - Added changelog entry - src/lib_ccx/lib_ccx.h - VERSION define - linux/configure.ac - AC_INIT version - mac/configure.ac - AC_INIT version - OpenBSD/Makefile - V variable - package_creators/PKGBUILD - pkgver - package_creators/ccextractor.spec - Version - package_creators/debian.sh - VERSION - packaging/chocolatey/ccextractor.nuspec - version - packaging/chocolatey/tools/chocolateyInstall.ps1 - URL - packaging/winget/*.yaml - PackageVersion and URLs Note: SHA256 checksums in chocolatey and winget files will need to be updated after the MSI is built. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
CCExtractor Packaging
This directory contains packaging configurations for Windows package managers.
Windows Package Manager (winget)
Initial Setup (One-time)
-
Calculate MSI hash for the current release:
certutil -hashfile CCExtractor.0.96.1.msi SHA256 -
Update the manifest files in
winget/with the SHA256 hash -
Fork microsoft/winget-pkgs to the CCExtractor organization:
-
Submit initial manifest via PR:
- Clone your fork
- Create directory:
manifests/c/CCExtractor/CCExtractor/0.96.1/ - Copy the three YAML files from
winget/ - Submit PR to microsoft/winget-pkgs
-
Create GitHub token for automation:
- Go to GitHub Settings > Developer settings > Personal access tokens > Tokens (classic)
- Create token with
public_reposcope - Add as secret
WINGET_TOKENin CCExtractor/ccextractor repository
Automated Updates
After the initial submission is merged, the publish_winget.yml workflow will automatically submit PRs for new releases.
Chocolatey
Initial Setup (One-time)
-
Create Chocolatey account:
-
Get API key:
- Go to https://community.chocolatey.org/account
- Copy your API key
-
Add secret:
- Add
CHOCOLATEY_API_KEYsecret to CCExtractor/ccextractor repository
- Add
Package Structure
chocolatey/
├── ccextractor.nuspec # Package metadata
└── tools/
├── chocolateyInstall.ps1 # Installation script
└── chocolateyUninstall.ps1 # Uninstallation script
Manual Testing
cd packaging/chocolatey
# Update version and checksum in files first, then:
choco pack ccextractor.nuspec
# Test locally
choco install ccextractor --source="'.'" --yes --force
# Verify
ccextractor --version
Automated Updates
The publish_chocolatey.yml workflow automatically:
- Downloads the MSI from the release
- Calculates the SHA256 checksum
- Updates the nuspec and install script
- Builds and tests the package
- Pushes to Chocolatey
Note: Chocolatey packages go through moderation before being publicly available.
Workflow Triggers
Both workflows trigger on:
- Release published: Automatic publishing when a new release is created
- Manual dispatch: Can be triggered manually with a specific tag
Secrets Required
| Secret | Purpose |
|---|---|
WINGET_TOKEN |
GitHub PAT with public_repo scope for winget PRs |
CHOCOLATEY_API_KEY |
Chocolatey API key for package uploads |