Repository navigation
Conversation
|
Thanks a lot for the effort, and for taking the time to put this together! I decided not to merge this PR and solved it a bit differently. Starting with the next release, every release will include a portable Linux build: GitWriter--linux-x86_64.tar.gz (plus an arm64 version). It’s the bare app folder with its own bundled Java, so you can unpack it and run it on Arch or any other distro. Why I went this way: It reuses the build the .deb and .rpm are made from (built on Ubuntu 22.04 for glibc compatibility), so the release pipeline doesn’t need an extra Arch container build. For a proper installer with updates, an AUR package (e.g. git-writer-bin) built on top of the .tar.gz would be ideal. If you’d like to create and maintain it on aur.archlinux.org, I’d be happy to link it in the README. I’ll keep the file names stable so the PKGBUILD won’t break. Thanks again! |
Summary
Add native Arch Linux package support to Git Writer’s existing Kotlin/Compose desktop release process.
Changes
tools/arch-package.sh, which builds a self-contained Compose desktop application image on Arch Linux (OpenJDK 21), packages it withmakepkg, and produces an installable.pkg.tar.zst..tar.zstdistribution with the bundled Java runtime.archjob to the existing.github/workflows/desktop-release.ymlworkflow forallandlinuxreleases.Installation
Download the Arch package from Releases and install with:
sudo pacman -U ./git-writer-*.pkg.tar.zstValidation
The Arch build is configured and has been started in the fork: https://github.com/vipu18/git-writer/actions/workflows/arch-package.yml
The exact proposed upstream release workflow has not yet been validated by a complete release run.
This PR intentionally excludes the fork-specific automatic upstream synchronization workflow.