Publish updater URLs with public Gitea host
All checks were successful
Codex Template Compliance / template-compliance (push) Successful in 8s
Build / build-windows (push) Successful in 27m29s

This commit is contained in:
MrSphay
2026-05-16 06:03:25 +02:00
parent 69c13c1b64
commit 3ceb4b19ac

View File

@@ -111,6 +111,9 @@ jobs:
repository_owner="MrSphay"
fi
gitea_server="${GITHUB_SERVER_URL:-https://git.wilkensxl.de}"
if [ "${gitea_server}" = "http://gitea:3000" ] || [ "${gitea_server}" = "http://localhost:3000" ]; then
gitea_server="https://git.wilkensxl.de"
fi
gitea_server="${gitea_server%/}"
package_dir="package-registry"
latest_url="${gitea_server}/api/packages/${repository_owner}/generic/${package_name}/latest"