Publish builds to a branch instead of to releases.

Releases and version numbers are gone. CI now rebuilds all three platforms
on every change to main and commits the packages to the `builds` branch,
so what anyone downloads is the current state of the repository. The
branch is rewritten from scratch each time rather than added to, so the
repository keeps one copy of the packages instead of a ~70 MB set per
commit.

Without tags there is no version to compare, so a build carries the
commit it was made from and the branch carries a VERSION file naming the
same commit. The updater fetches those few bytes and treats any
difference as being behind; commits are not ordered, and the branch only
ever holds the current build.

The installers fetch from the branch over raw.githubusercontent.com for
the same reason.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
pepaskopec-blip 2026-09-17 15:40:47 +02:00
commit 737e27deb0
10 changed files with 190 additions and 198 deletions

15
i18n.c
View file

@ -20,11 +20,12 @@ const TrEntry tr_ui[] = {
{"theme", "TÉMA", "THEME"},
{"language", "JAZYK", "LANGUAGE"},
{"updates", "AKTUALIZACE", "UPDATES"},
{"update_current", "Verze %s", "Version %s"},
{"update_current", "Build %s", "Build %s"},
{"update_checking", "Hledám aktualizace…", "Checking for updates…"},
{"update_uptodate", "Máte nejnovější verzi (%s).",
{"update_uptodate", "Máte nejnovější build (%s).",
"You are up to date (%s)."},
{"update_available", "Je dostupná verze %s.", "Version %s is available."},
{"update_available", "Je dostupný novější build (%s).",
"A newer build is available (%s)."},
{"update_downloading", "Stahuji aktualizaci…", "Downloading the update…"},
{"update_staged", "Aktualizace je připravená — restartujte aplikaci.",
"The update is ready — restart the app to finish."},
@ -38,16 +39,16 @@ const TrEntry tr_ui[] = {
{"update_err_download", "Stahování se nepovedlo.", "The download failed."},
{"update_err_curl", "V systému chybí curl, aktualizace nejsou dostupné.",
"curl is missing, so updates are unavailable."},
{"update_err_unsupported", "Pro tuto platformu se aktualizace nevydává.",
"No update is published for this platform."},
{"update_err_unsupported", "Pro tuto platformu se build nepublikuje.",
"No build is published for this platform."},
{"update_err_readonly",
"Do umístění aplikace nelze zapisovat. Přesuňte ji třeba do Aplikací.",
"The app's location is not writable. Move it somewhere else, for "
"example to Applications."},
{"update_err_stage", "Aktualizaci nešlo připravit.",
"Could not prepare the update."},
{"update_err_devbuild", "Tento build nemá číslo verze (dev).",
"This build carries no version number (dev)."},
{"update_err_devbuild", "Tento build nepochází z repozitáře (dev).",
"This build did not come from the repository (dev)."},
{"welcome_body",
"maturita.C je vzdělávací program pro studenty středních škol a "
"gymnázií na přípravu k maturitě.\n\n"