Skip to content

feat(distribution): add AUR package support (v0.11.2)#152

Merged
lewta merged 1 commit into
mainfrom
feat/v0.11.2-aur-package
Mar 22, 2026
Merged

feat(distribution): add AUR package support (v0.11.2)#152
lewta merged 1 commit into
mainfrom
feat/v0.11.2-aur-package

Conversation

@lewta

@lewta lewta commented Mar 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds GoReleaser aurs: publisher: on every release, GoReleaser generates a PKGBUILD and pushes it to aur.archlinux.org/sendit.git via SSH
  • Arch / Omarchy users can now install with yay -S sendit or paru -S sendit; the .pkg.tar.zst direct install from v0.11.1 remains as a fallback
  • Binary and bash/zsh/fish completions installed via the package() function in the generated PKGBUILD
  • AUR_SSH_KEY placeholder added to goreleaser-check and goreleaser-snapshot CI jobs so config validation passes on PRs without the real key

Prerequisites (already done)

  • AUR account registered
  • Dedicated passphrase-free SSH key generated (sendit-aur-ci)
  • Public key added to AUR account profile
  • Private key added as AUR_SSH_KEY GitHub Actions secret

Test plan

  • CI passes (goreleaser check validates the new aurs: block with the placeholder key)
  • After merge: cut v0.11.2 tag and confirm the release job pushes a PKGBUILD to aur.archlinux.org/sendit.git
  • Verify yay -S sendit resolves and installs correctly on an Arch system

🤖 Generated with Claude Code

Add GoReleaser aurs publisher so sendit is installable via yay/paru on
Arch Linux and Arch-based distros (Omarchy, Manjaro, etc.).

- .goreleaser.yaml: add aurs: block targeting aur.archlinux.org/sendit.git;
  installs binary + bash/zsh/fish completions via PKGBUILD package() function
- release.yml: pass AUR_SSH_KEY secret to both release steps
- ci.yml: add AUR_SSH_KEY: "placeholder" to goreleaser-check and
  goreleaser-snapshot env blocks so template evaluation passes on PRs
- README.md, getting-started.md: add yay/paru as the recommended install
  method; keep pacman -U as the no-helper fallback

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@lewta lewta merged commit 4093737 into main Mar 22, 2026
12 checks passed
@lewta lewta deleted the feat/v0.11.2-aur-package branch March 22, 2026 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant