CI on Gitea Actions: checks on push, full cross-platform release on tag; v0.7.1
ci / checks (push) Successful in 41s
release / build-and-publish (push) Successful in 3m12s

.gitea/workflows/ci.yml runs fmt/clippy/test on every master push and PR
on the self-hosted mac-arm64 runner (host mode, brew-serviced act_runner).
.gitea/workflows/release.yml turns a vX.Y.Z tag into a Gitea release:
tools/release.sh --cross (Apple Silicon + x86_64 macOS, musl and RHEL 8
linux-gnu, Windows; both binaries; .vsix; SHA256SUMS), a tag-vs-version
check, tools/release_notes.sh (the CHANGELOG section becomes the notes;
missing section fails the release) and tools/publish_release.sh
(get-or-create + attach, re-run safe). Version bumped to 0.7.1 with a
changelog covering directive-split and this flow.

Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
lucioandClaude Fable 5 committed 2026-08-26 01:51:45 -07:00
1 parent 033e53b381
commit 19253c105b
11 files changed
+306 -12

No files matched your search

+28
View File
@@ -202,3 +202,31 @@ npx ovsx publish dist/lucisv-0.7.0.vsix -p "$OVSX_TOKEN"
Both tokens are secrets. Neither belongs in this repo, in a shell history, or
in any file `release.sh` reads.
## CI releases (Gitea Actions)
Since 0.7.1 the whole checklist above is automated
(`docs/features/ci-release/README.md`): steps 1–2 stay manual (bump the
four version files, write the CHANGELOG section — it becomes the release
notes verbatim), then
```bash
git tag v<X.Y.Z>
git push origin v<X.Y.Z>
```
does the rest on the `mac-arm64` runner: `tools/release.sh --cross`, a
tag-vs-`lucisv --version` consistency check, `tools/release_notes.sh` (a
missing CHANGELOG section fails the release), and
`tools/publish_release.sh`, which creates the Gitea release and attaches
every `dist/` artifact. Ordinary pushes run fmt/clippy/test via
`.gitea/workflows/ci.yml`.
The runner is this Mac: `brew install gitea-runner`, registered
instance-wide as `mac-arm64` (labels `macos-arm64`/`self-hosted`, host
mode), running via `brew services start gitea-runner`; config at
`/opt/homebrew/etc/gitea-runner/config.yaml`, logs at
`/opt/homebrew/var/log/gitea-runner.{log,err}`. Registration tokens are
one-time and minted in Gitea's admin UI; nothing secret lives in this
repo — the release workflow authenticates with the `GITHUB_TOKEN` Gitea
Actions injects per job.