Commit Graph

11 Commits

Author SHA1 Message Date
7d0564cc45 ci(release): make release step idempotent (reuse on 409, replace assets)
All checks were successful
CI / Test (push) Successful in 53s
Release / Create Release (push) Successful in 2m15s
CI / Build (push) Successful in 39s
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>
2026-06-13 00:15:54 +01:00
fa6fc62c3c ci(release): API via GITHUB_SERVER_URL, download links via PUBLIC_HOST
Some checks failed
CI / Test (push) Successful in 52s
Release / Create Release (push) Failing after 2m11s
CI / Build (push) Successful in 40s
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>
2026-06-13 00:07:07 +01:00
0ed00f6abb ci(release): auto-detect staging/prod host and use dynamic URLs
All checks were successful
CI / Test (push) Successful in 53s
Release / Create Release (push) Successful in 2m7s
CI / Build (push) Successful in 40s
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.
2026-06-12 22:55:22 +01:00
d545a9bd08 Fix host reference
All checks were successful
CI / Test (push) Successful in 52s
CI / Build (push) Successful in 41s
2026-06-12 22:37:42 +01:00
8d68448adb chore(ci): pin setup-go to exact '1.24.2' to match go.mod minimum (prevents toolchain/local version mismatches like 1.22.5)
Some checks failed
CI / Test (push) Failing after 51s
CI / Build (push) Has been skipped
2026-06-06 08:03:54 +01:00
6a3e1e8b53 fix(release): add robust error handling, --fail, set -euo pipefail, RELEASE_ID validation, and debug output to Create Release step so failures are visible instead of silently passing
Some checks failed
gobuild / build (push) Failing after 6s
2026-06-06 08:00:04 +01:00
0a4c457cb4 fix(ci): run 'go mod tidy' before 'make cross' in release workflow to ensure complete go.sum for the CI Go version (fixes persistent 'missing go.sum entry' errors for direct and transitive deps during cross-compilation)
Some checks failed
gobuild / build (push) Failing after 6s
Release / Create Release (push) Has been cancelled
2026-06-06 07:50:53 +01:00
6537f3ffe1 fix(workflow): add shell: bash to steps using bashisms (parameter expansion, [[ ) and ensure make uses bash via SHELL=; prevents /bin/sh syntax errors in release CI
Some checks failed
gobuild / build (push) Failing after 8s
Release / Create Release (push) Failing after 18s
2026-06-06 07:46:30 +01:00
b483eab827 fix(ci): add go mod download + use make cross in release workflow to fix missing go.sum errors during cross-platform builds
Some checks failed
gobuild / build (push) Failing after 6s
Release / Create Release (push) Failing after 20s
2026-06-06 07:34:31 +01:00
1d2dfc1c8d fix(workflows): use dynamic ${REPO} variable in release body URLs
Some checks failed
gobuild / build (push) Failing after 7s
Replace hardcoded gmgauthier/gostations path with ${REPO} variable so release install instructions work correctly regardless of repository owner or name.
2026-06-05 23:43:37 +01:00
dd34a5b21c chore(release): prepare v2.0 infrastructure (Makefile, release.sh, Gitea release workflow, installers, modern versioning) 2026-06-05 23:39:40 +01:00