CI release publishes the six extension packages only
Owner decision: the release page carries the .vsix packages (each platform package checked by name — a missing one fails the release — plus the universal fallback) and SHA256SUMS, nothing else. The loose binaries are still built and audited on the runner, since the packages embed them, but no longer attached; standalone binaries are a cargo build away. The new workflow step prunes dist/ after the audit and filters SHA256SUMS to the packages, keeping the audited hashes, then re-verifies. Prune logic tested against the real 0.10.0 dist with a missing-package negative control; docs trued up in RELEASING.md, the top-level README and both feature READMEs. Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
1 parent
a399f81ad9
commit
ec65e0831f
5 files changed
+127
-39
No files matched your search
+14
-8
@@ -207,9 +207,10 @@ optional. Pick the package by machine — `darwin-arm64`, `darwin-x64`,
|
||||
`linux-x64`, `linux-arm64`, `win32-x64` — and fall back to the universal
|
||||
`lucisv-<version>.vsix` anywhere else.
|
||||
|
||||
Publishing the artifacts is a matter of attaching `dist/`'s contents plus
|
||||
`SHA256SUMS` to a git tag / release page on `git.luci.ooo`. Tag after the
|
||||
gate is green:
|
||||
Publishing means attaching the six `.vsix` packages plus `SHA256SUMS` to a
|
||||
git tag / release page on `git.luci.ooo` — the CI release does exactly that
|
||||
and nothing more (the loose binaries stay unpublished; see "CI releases"
|
||||
below). Tag after the gate is green:
|
||||
|
||||
```bash
|
||||
git tag -a v0.5.0 -m 'lucisv 0.5.0'
|
||||
@@ -263,11 +264,16 @@ 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`.
|
||||
tag-vs-`lucisv --version` consistency check, a pruning step that keeps
|
||||
**only the six `.vsix` packages** in `dist/` (each checked by name — a
|
||||
missing platform package fails the release — and `SHA256SUMS` filtered
|
||||
down to them and re-verified), `tools/release_notes.sh` (a missing
|
||||
CHANGELOG section fails the release), and `tools/publish_release.sh`,
|
||||
which creates the Gitea release and attaches what remains. The loose
|
||||
binaries are built and audited on the runner — the packages are made
|
||||
from them — but never published: a standalone binary is a
|
||||
`cargo build --release` away for whoever wants one. 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
|
||||
|
||||
Reference in new issue
Block a user