Replace the self-contained release.yml with a thin caller of
gmgauthier/gitea-workflows/.gitea/workflows/go-release.yml@v1. Standardizes
on the shared pipeline (make cross + jq-built idempotent release). Release
notes are now the standard install-instructions body.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Consistency with the shared release template: tar each binary and rm it in
the same loop rather than cleaning a hardcoded platform list. No behavior
change for gostations' current 5-platform matrix, but robust if it grows.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Create-release now treats HTTP 409 as 'already exists' and looks the
release up by tag instead of failing, so re-runs and duplicate tag
triggers don't go red. Asset uploads delete any same-named asset first,
so a run that died mid-upload can be retried cleanly.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Drop fragile STAGING_HOST/PROD_HOST host-detection. The runner's
GITHUB_SERVER_URL reports the internal name (gitea.xenophon), which never
matched the public-DNS vars. Now the API uses GITHUB_SERVER_URL directly
(reliable from CI) and the release-body download links use a single
per-instance PUBLIC_HOST var (gitea.scriptorium / repos.gmgauthier.com).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Replace deprecated `variables.` syntax with `vars.`, add logic to detect
the running environment from GITHUB_SERVER_URL, and update release body
URLs to use the detected HOST instead of a hardcoded domain.
Replace hardcoded gmgauthier/gostations path with ${REPO} variable so release install instructions work correctly regardless of repository owner or name.