chore #14740: drop appimage and the unsupported feed url

Verified on Gitea 1.27.3: releases/latest/download/<file> does not
redirect to a release's assets (404), so that update-feed endpoint is
dead. Only raw/branch/master/latest.json works; keep that one in
release.env and tauri.conf.json and document it as the mandatory feed
in RELEASING.md.

Also drop the AppImage (user: it is huge and we don't need it): bundle
targets become nsis+deb, build-release.sh only builds the .deb on
Linux, and make-latest-json.sh no longer writes a Linux platform entry
at all (Debian builds don't self-update).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
hauke
2026-11-06 12:29:53 +01:00
co-authored by Claude Sonnet 5
parent 572c685396
commit eff07d2f59
5 changed files with 43 additions and 73 deletions
+2 -8
View File
@@ -2,7 +2,8 @@
# Writes <dir>/latest.json, the update feed the app reads, from the signed
# release artifacts in <dir>:
# windows-x86_64 -> *_<version>_x64-setup.exe (+ .sig)
# linux-x86_64 -> *_<version>_amd64.AppImage (+ .sig)
# Debian builds do not self-update, so the .deb is not listed here (it is
# still a release asset, just not part of the feed).
# The download URLs point at ${RELEASE_BASE_URL}/releases/download/v<version>/
# (scripts/release.env).
#
@@ -38,7 +39,6 @@ signed_file() {
}
WINDOWS="$(signed_file "*_${VERSION}_x64-setup.exe")"
LINUX="$(signed_file "*_${VERSION}_amd64.AppImage")"
jq -n \
--arg version "${VERSION}" \
@@ -46,8 +46,6 @@ jq -n \
--arg base "${RELEASE_BASE_URL}/releases/download/v${VERSION}" \
--arg windows_file "$(basename "${WINDOWS}")" \
--rawfile windows_sig "${WINDOWS}.sig" \
--arg linux_file "$(basename "${LINUX}")" \
--rawfile linux_sig "${LINUX}.sig" \
'{
version: $version,
pub_date: $pub_date,
@@ -55,10 +53,6 @@ jq -n \
"windows-x86_64": {
signature: ($windows_sig | gsub("\\s"; "")),
url: "\($base)/\($windows_file | @uri)"
},
"linux-x86_64": {
signature: ($linux_sig | gsub("\\s"; "")),
url: "\($base)/\($linux_file | @uri)"
}
}
}' >"${DIR}/latest.json"