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:
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
# Builds a signed release of Gesprächsrekorder into dist-release/<version>/:
|
||||
# the Windows NSIS installer (cross-built via build-windows.sh), the Linux
|
||||
# deb and AppImage, their updater signatures (.sig) and latest.json.
|
||||
# deb, their updater signatures (.sig) and latest.json.
|
||||
# Sets <version> in tauri.conf.json, src-tauri/Cargo.toml and
|
||||
# ui/package.json and leaves those changes for you to commit. Never tags or
|
||||
# publishes anything; see RELEASING.md.
|
||||
@@ -157,7 +157,7 @@ grep -qx "version = \"${VERSION}\"" "${CARGO_TOML}" || die "could not set the ve
|
||||
|
||||
# --- Build ------------------------------------------------------------------
|
||||
"${SCRIPT_DIR}/build-windows.sh"
|
||||
(cd "${REPO_ROOT}" && cargo tauri build --bundles deb appimage)
|
||||
(cd "${REPO_ROOT}" && cargo tauri build --bundles deb)
|
||||
|
||||
# --- Collect ----------------------------------------------------------------
|
||||
OUT="${REPO_ROOT}/dist-release/${VERSION}"
|
||||
@@ -183,7 +183,6 @@ collect() {
|
||||
}
|
||||
collect "${WINDOWS_BUNDLE}" "*_${VERSION}_x64-setup.exe"
|
||||
collect "${LINUX_BUNDLE}/deb" "*_${VERSION}_amd64.deb"
|
||||
collect "${LINUX_BUNDLE}/appimage" "*_${VERSION}_amd64.AppImage"
|
||||
|
||||
"${SCRIPT_DIR}/make-latest-json.sh" "${VERSION}" "${OUT}"
|
||||
jq -e . "${OUT}/latest.json" >/dev/null || die "latest.json is not valid JSON"
|
||||
|
||||
Reference in New Issue
Block a user