Publisher configuration examples for each target: - publish-github.yaml - GitHub Releases (foundation) - publish-npm.yaml - npm binary wrapper - publish-homebrew.yaml - Homebrew formula + tap - publish-scoop.yaml - Scoop manifest (Windows) - publish-aur.yaml - AUR PKGBUILD (Arch Linux) - publish-chocolatey.yaml - Chocolatey NuSpec (Windows) - publish-docker.yaml - Multi-arch containers - publish-linuxkit.yaml - Immutable images - publish-all.yaml - All publishers combined Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
29 lines
593 B
YAML
29 lines
593 B
YAML
# Example: Chocolatey Publisher (Windows)
|
|
# NuSpec package for Windows enterprise
|
|
|
|
type: chocolatey
|
|
|
|
# Package name
|
|
package: mycli
|
|
|
|
# Push to Chocolatey community repo
|
|
push: false # Set true to auto-publish
|
|
|
|
# Generate files only
|
|
official:
|
|
enabled: true
|
|
output: dist/chocolatey
|
|
|
|
# Environment: CHOCOLATEY_API_KEY required if push: true
|
|
#
|
|
# Usage after publish:
|
|
# choco install mycli
|
|
#
|
|
# Generated files:
|
|
# - mycli.nuspec
|
|
# - tools/chocolateyinstall.ps1
|
|
#
|
|
# Manual publish:
|
|
# cd dist/chocolatey
|
|
# choco pack
|
|
# choco push mycli.1.0.0.nupkg --source https://push.chocolatey.org/
|