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