cli/docs/examples/release-official-repos.yaml
Snider f3138bc8e2 docs(examples): rename files to group by prefix
- release-*.yaml for release configurations
- linuxkit-*.yml for LinuxKit templates

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 00:41:14 +00:00

51 lines
1.2 KiB
YAML

# Example: Generate Files for Official Repository PRs
# Creates files for PRs to homebrew-core, scoop-main, etc.
version: 1
project:
name: myapp
repository: myorg/myapp
publishers:
- type: github
# Generate formula for homebrew-core PR
# Output: dist/homebrew/myapp.rb
- type: homebrew
tap: myorg/homebrew-tap # Also push to own tap
official:
enabled: true
output: dist/homebrew
# Generate manifest for scoop-main PR
# Output: dist/scoop/myapp.json
- type: scoop
bucket: myorg/scoop-bucket # Also push to own bucket
official:
enabled: true
output: dist/scoop
# Generate files for AUR
# Output: dist/aur/PKGBUILD, dist/aur/.SRCINFO
- type: aur
maintainer: "Your Name <email>"
official:
enabled: true
output: dist/aur
# After release, submit PRs:
#
# Homebrew:
# cd homebrew-core
# cp ../myapp/dist/homebrew/myapp.rb Formula/m/myapp.rb
# git checkout -b myapp-1.0.0
# git add . && git commit -m "myapp 1.0.0 (new formula)"
# gh pr create
#
# Scoop:
# cd Main
# cp ../myapp/dist/scoop/myapp.json bucket/myapp.json
# git checkout -b myapp-1.0.0
# git add . && git commit -m "myapp: Add version 1.0.0"
# gh pr create