Commit Graph

13 Commits (8ef777c7e6cf0fb6bfda6c234fca1fc9520debce)

Author SHA1 Message Date
Vernon Keenan 8ef777c7e6 feat: replace manual release ritual with `make release` (ADR-KV-014)
The README's "Update Procedure" required three web UIs (GitHub branch
defaults, GitHub releases, Gitea "Synchronize Now") and a go-swagger CLI
installed nowhere. Now that lib is main+tags instead of branch-per-version,
replace it with scripts/release.sh driven through the Makefile:

- `make install-swagger` installs a pinned go-swagger (v0.35.0) and
  verifies the version.
- `make regen` copies the sibling service specs and regenerates api/
  clients exactly as the old `make swagger` ritual did, failing fast if
  a sibling spec is missing. Regen output is reviewed/committed as its
  own PR, same as any other change.
- `make release VERSION=vX.Y.Z` / `make release-dry-run VERSION=vX.Y.Z`
  validate semver + monotonicity, require a clean main checkout synced
  with origin/main, tag, push, `gh release create`, and POST to the
  Gitea mirror-sync API for the vernonkeenan/lib and work/lib mirrors
  (skipped with a loud warning if GITEA_TOKEN is unset).

Also scope the CI push trigger to `main` + `v*` tags instead of every
branch, so PRs (which already run via the `pull_request` trigger) stop
double-running.

Verified locally: bash -n + shellcheck clean; install-swagger into a
temp GOBIN across go-swagger v0.33.2-v0.35.0; semver/monotonicity/
tag-exists/branch/origin-sync validation failure paths; a full regen
against the real sibling specs in a scratch dir (never the checked-out
api/swagger). That regen surfaced a real go-swagger limitation --
documented in the README and as a warning in the script -- reproduced
across all four installable versions: an untagged operation in
sf-gate-vernonkeenan.yaml produces a client that doesn't compile.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 06:49:23 +00:00
Vernon Keenan b37836a8f2 moved devops endpoints to members 2023-04-07 18:00:15 +00:00
Vernon Keenan 9a96094d63 fix missing slugs 2023-04-07 00:34:49 +00:00
Vernon Keenan c4d77b493c plex added, accountId params 2023-04-06 01:28:58 +00:00
Vernon Keenan c8efe1a2b0 new version v0.3.1 2023-03-28 17:47:34 +00:00
Vernon Keenan d90985627d module and swagger refresh 2023-03-22 20:49:01 +00:00
Vernon Keenan 68e1c898b4 fix models 2022-09-06 17:16:25 -07:00
Vernon Keenan 0a2691ea69 swagger client 2022-09-03 14:10:56 -07:00
Vernon Keenan 400b81060a Remove workflow 2022-06-20 08:35:49 -07:00
Vernon Keenan 97cb82375c New swagger version 2022-05-28 12:45:41 -07:00
Vernon Keenan 1fc267b3da sfgate 2021-08-14 15:34:08 -07:00
Vernon Keenan 65e4a4c9c4 tidy new version 2021-08-05 12:37:53 -07:00
Vernon Keenan 3315d4b105 Initial commit 2021-07-30 20:05:02 -07:00