A build-linux-arm64 job on ubuntu-26.04-arm builds libeuicc and the
app natively, links the runner's arm64 libpcsclite, runs the tests on
arm64 and uploads the .tar.gz, .deb, .rpm and PKGBUILD; the release
waits for it.
Each architecture's PKGBUILD now ships under its own name,
PKGBUILD-x86_64 and PKGBUILD-aarch64 (makepkg -si -p ...), in the flat
release. Both use the amd64 job's icons, which are byte for byte the
ones the arm64 build makes, and the release checks every source of
each PKGBUILD against the files it ships.
A build-android job builds the arm64 APK beside the other platforms and
ships it with releases. It signs it with the upload key of the secrets
ANDROID_KEYSTORE_BASE64, ANDROID_KEY_ALIAS, ANDROID_KEYSTORE_PASSWORD
and ANDROID_KEY_PASSWORD when they are set, and else warns that the
debug key signed it.
scripts/with-version.sh puts the key in mygo.json for the build, as
EASYLPAC_ANDROID_KEYSTORE and EASYLPAC_ANDROID_KEY_ALIAS name it, which
local builds use too; mygo reads the passwords from the environment.
Checked with a throwaway key, which apksigner found on the APK. The
tests also run with -tags phone, and the checkouts take go-ccid.
mygo's updater takes a release's tag to be tagPrefix + version, and
tagPrefix cannot be empty (it defaults to "v"): the update archives,
the prerelease channel and delta updates are found by v<version>.
Release tags are therefore vx.y.z[-pre] from now on, and only those
trigger a release build. scripts/version.sh drops the "v" (the
version stays 0.9.3) and still counts the older tags without it, as
0.9.2; EASYLPAC_VERSION also takes a tag name. The READMEs show the
new tags.
The version is no longer kept by hand in mygo.json, which now says
0.0.0-dev. scripts/version.sh computes it from the git tags: a release
tag x.y.z[-pre] is the version, a later commit a snapshot such as
0.9.2.r12.ga4e79e0 (with .dirty for uncommitted changes), which sorts
after its tag and before the next release for dpkg, rpm and pacman,
and is the pkgver of an Arch -git package as it is. The snapshot has
no "+", which mygo turns into "~" for dpkg. EASYLPAC_VERSION overrides
it. scripts/with-version.sh writes the version into mygo.json for one
command and restores the file; the build scripts and CI build through
it.
The release workflow becomes build.yaml: pushes to master and
release/**, pull requests and manual runs are tested and built, with
the packages as artifacts; a pushed release tag also publishes the
GitHub Release (a pre-release for x.y.z-*). Other tags no longer
trigger it. The READMEs describe the versions and the release steps.
- Upgrade github.com/egoist/mygo from v0.8.3 to v0.10.0 and pin the
same CLI version in the build scripts and the release workflow.
- Linux: give linux.depends per package format, so the RPM and the
PKGBUILD that mygo now writes keep the pcsc-lite dependencies (mygo
has no mapping for libpcsclite1/pcscd and dropped them), and upload
the .rpm, the PKGBUILD and its icons with the release.
- Windows: build with mygo_nowebview; every window is native UI, so
the app needs no WebView2 Runtime (about 370 KB smaller).