Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
19 lines
883 B
Bash
19 lines
883 B
Bash
# Where Gesprächsrekorder releases are published: the one place to change.
|
|
# Sourced by build-release.sh, which writes UPDATE_JSON_URLS into
|
|
# src-tauri/tauri.conf.json (plugins.updater.endpoints), and by
|
|
# make-latest-json.sh, which points the download URLs in latest.json at
|
|
# ${RELEASE_BASE_URL}/releases/download/v<version>/<file>. See RELEASING.md.
|
|
|
|
RELEASE_BASE_URL="https://gitea.euvino.eu/public/call-recorder"
|
|
|
|
# Where the app looks for latest.json, tried in this order until one answers
|
|
# with a release:
|
|
# 1. latest.json as an asset of the newest release,
|
|
# 2. latest.json committed to the root of master.
|
|
# Once it is clear which one Gitea serves, the other can be dropped here (it
|
|
# then disappears from the next version built).
|
|
UPDATE_JSON_URLS=(
|
|
"${RELEASE_BASE_URL}/releases/latest/download/latest.json"
|
|
"${RELEASE_BASE_URL}/raw/branch/master/latest.json"
|
|
)
|