cli/docs/examples/publish-aur.yaml
Snider 4ae16dc09e docs(examples): add publish-* configuration examples
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>
2026-01-29 00:47:01 +00:00

28 lines
521 B
YAML

# Example: AUR Publisher (Arch Linux)
# PKGBUILD generation and AUR push
type: aur
# Package name (will be suffixed with -bin)
package: mycli
# Maintainer info (required by AUR)
maintainer: "Your Name <your@email.com>"
# Generate files only (don't push to AUR)
official:
enabled: true
output: dist/aur
# Environment: SSH key for aur.archlinux.org
#
# Usage after publish:
# yay -S mycli-bin
# # or
# paru -S mycli-bin
#
# Generated files:
# - PKGBUILD
# - .SRCINFO
#
# Supports both x86_64 and aarch64