Summary
Automate publishing the querya-desktop AUR package from CI after each GitHub Release.
Today the PKGBUILD template lives in packaging/linux/aur/ and release notes call it community-maintained; bumping/pushing to AUR is manual (README).
Current state
- Template:
packaging/linux/aur/PKGBUILD — installs Querya-Desktop-${pkgver}-linux.zip from GitHub Releases under /opt/querya-desktop
- Release CI builds the zip and publishes
.deb / .rpm / Flatpak / AppImage — no AUR push
version-bump.yml bumps only pubspec.yaml (does not sync PKGBUILD pkgver)
Target
.github/workflows/aur-publish.yml — manual workflow_dispatch with version input (hotfix / re-publish when release zip already exists)
publish-aur job in .github/workflows/release.yml — runs after GitHub Release is created; skips gracefully if AUR_SSH_PRIVATE_KEY is unset
version-bump.yml — sync packaging/linux/aur/PKGBUILD pkgver + reset pkgrel=1 + sha256sums=('SKIP' …) on merge to main
- Docs — update
packaging/linux/aur/README.md, docs/packaging.md, release notes snippet
Workflow details
| Item |
Value |
| AUR repo |
querya-desktop → ssh://aur@aur.archlinux.org/querya-desktop.git |
| Release artifact |
Querya-Desktop-{version}-linux.zip |
| Template dir |
packaging/linux/aur/ (PKGBUILD, querya_desktop.desktop, querya_desktop.png) |
| Publish script |
scripts/linux/aur_publish.sh |
| Tag URL |
Tries release tag, version, and v{version} for asset download |
.SRCINFO |
Generated in CI via Docker archlinux:latest + makepkg --printsrcinfo |
One-time setup (repo admin)
Add GitHub repository secret AUR_SSH_PRIVATE_KEY (SSH private key registered on your AUR account). First CI push creates the AUR repo automatically — no setup-repo command needed.
Acceptance criteria
Related
Summary
Automate publishing the
querya-desktopAUR package from CI after each GitHub Release.Today the PKGBUILD template lives in
packaging/linux/aur/and release notes call it community-maintained; bumping/pushing to AUR is manual (README).Current state
packaging/linux/aur/PKGBUILD— installsQuerya-Desktop-${pkgver}-linux.zipfrom GitHub Releases under/opt/querya-desktop.deb/.rpm/ Flatpak / AppImage — no AUR pushversion-bump.ymlbumps onlypubspec.yaml(does not sync PKGBUILDpkgver)Target
.github/workflows/aur-publish.yml— manualworkflow_dispatchwithversioninput (hotfix / re-publish when release zip already exists)publish-aurjob in.github/workflows/release.yml— runs after GitHub Release is created; skips gracefully ifAUR_SSH_PRIVATE_KEYis unsetversion-bump.yml— syncpackaging/linux/aur/PKGBUILDpkgver+ resetpkgrel=1+sha256sums=('SKIP' …)on merge tomainpackaging/linux/aur/README.md,docs/packaging.md, release notes snippetWorkflow details
querya-desktop→ssh://aur@aur.archlinux.org/querya-desktop.gitQuerya-Desktop-{version}-linux.zippackaging/linux/aur/(PKGBUILD,querya_desktop.desktop,querya_desktop.png)scripts/linux/aur_publish.shv{version}for asset download.SRCINFOarchlinux:latest+makepkg --printsrcinfoOne-time setup (repo admin)
Add GitHub repository secret
AUR_SSH_PRIVATE_KEY(SSH private key registered on your AUR account). First CI push creates the AUR repo automatically — nosetup-repocommand needed.Acceptance criteria
querya-desktopis updated with matchingpkgver, realsha256sums, and valid.SRCINFORelated