1# AUR packaging
2
3This directory maintains the [`t3code-bin`](https://aur.archlinux.org/packages/t3code-bin) and
4[`t3code-nightly-bin`](https://aur.archlinux.org/packages/t3code-nightly-bin) packages. Both
5repackage the official x86_64 AppImage from GitHub Releases.
6
7## Publishing
8
9The release workflow calls `.github/workflows/publish-aur.yml` after publishing a GitHub release;
10the workflow can also be run manually for a specific tag. It selects the stable or nightly
11package, then updates its version and checksums, builds it, regenerates `.SRCINFO`, and pushes it
12to the AUR.
13
14To validate a release on Arch Linux:
15
16```bash
17sudo pacman -Syu --needed base-devel github-cli jq namcap
18GH_TOKEN=$(gh auth token) RELEASE_TAG=v0.0.33 \
19 packaging/aur/scripts/release.sh
20```