From fd9c19e5c233dae27458afd769147df267eb96b6 Mon Sep 17 00:00:00 2001 From: Harry Bayliss Date: Fri, 15 May 2026 19:14:21 +0100 Subject: [PATCH] Fix release CI: upgrade mlugg/setup-zig to v2 and cut 0.0.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `mlugg/setup-zig@v1` is deprecated and only knows the pre-0.14 tarball name (`zig-linux-x86_64-.tar.xz`), so every mirror — and the official ziglang.org/builds — returned 404 for Zig 0.15.2 on both the v0.0.1 and v0.0.2 release runs. v2 uses the new `zig-x86_64-linux-.tar.xz` layout that Zig switched to in 0.14+. Also rolls the existing CHANGELOG `[Unreleased]` work into a dated `[0.0.3]` section and adds the CI fix to its Fixed list. --- .gitea/workflows/release.yml | 2 +- CHANGELOG.md | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 7a06a0f..3a783cc 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -16,7 +16,7 @@ jobs: go-version-file: go.mod cache: true - - uses: mlugg/setup-zig@v1 + - uses: mlugg/setup-zig@v2 with: version: 0.15.2 diff --git a/CHANGELOG.md b/CHANGELOG.md index f6dba81..4a94cba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ loosely follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +## [0.0.3] - 2026-05-15 + ### Added - Auto-summarization for top-level agent tabs. patterm now loads `$XDG_CONFIG_HOME/patterm/settings.json`, enables Codex-based @@ -68,6 +70,13 @@ loosely follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html). the command field. ### Fixed +- Release workflow (`.gitea/workflows/release.yml`) now uses + `mlugg/setup-zig@v2` instead of the deprecated `@v1`. v1 hard-coded + the pre-0.14 tarball name (`zig-linux-x86_64-.tar.xz`), so + every mirror and the official `ziglang.org/builds` returned 404 for + Zig 0.15.2 and the v0.0.1 / v0.0.2 tag pushes never produced a + release asset. v2 uses the post-0.14 `zig-x86_64-linux-.tar.xz` + layout, so the runner can fetch Zig and build patterm. - Typing into a focused child while its emulator viewport is scrolled up into scrollback history now auto-snaps the viewport back to the live area. Previously the keystroke reached the