Skip to content

ci: automated releases to GitHub and the AUR - #4

Merged
bnema merged 5 commits into
mainfrom
ci/release-aur
Oct 1, 2026
Merged

bnema merged 5 commits into
mainfrom
ci/release-aur

Conversation

@bnema

@bnema bnema commented Oct 1, 2026

Copy link
Copy Markdown
Owner

Releases are now automated, modelled on NeferWL. Pushing a v* tag runs the checks, builds the GitHub release with a provenance attestation, then publishes nefercap-bin and nefercap-git to the AUR.

  • CI (ci.yml): make check, make race, make mocks-check and staticcheck on Arch, on every push to main and every pull request.
  • Release (release.yml, .goreleaser.yaml): linux amd64 and arm64, PIE, reproducible timestamps; nefercap-bin PKGBUILD generated by GoReleaser, built and verified with makepkg before it is pushed. Pre-release tags stay off the AUR.
  • Packages install /usr/bin/nefercap, the path NeferWL's built-in capture allowlist expects. Depends on wayland, libxkbcommon, vulkan-icd-loader and vulkan-driver; optional ffmpeg, wl-clipboard, neferwl.
  • nefercap version prints the release version; publish.sh checks the packaged binary reports the expected one.
  • make pkg builds an Arch package of HEAD (packaging/arch/PKGBUILD).
  • README Install: paru -S nefercap-bin / nefercap-git.
  • Post-review fixes left out of feat(wayland): capture through ext-image-copy-capture and ext-workspace #3: gofmt check in make check, workspace frame clipping and HUD placement documented, no warning on cancel at startup; NeferWL extension XML synced (descriptions only).

Secrets AUR_SSH_PRIVATE_KEY, AUR_USERNAME, AUR_EMAIL are set.

Checks: make check, make race, make mocks-check, staticcheck ./..., goreleaser check, goreleaser release --snapshot, actionlint, shellcheck publish.sh. Not run: the AUR publish itself (first real run on the next tag).

@coderabbitai

coderabbitai Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: c458c5a7-aa47-468e-bbab-dc14c39dd214

  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@bnema
bnema marked this pull request as ready for review October 1, 2026 03:14
@bnema
bnema merged commit 7e79979 into main Oct 1, 2026
2 checks passed
@bnema
bnema deleted the ci/release-aur branch October 1, 2026 03:15
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