From af7d532b34119dab003f7c7f4364b275410e4c45 Mon Sep 17 00:00:00 2001 From: Tomas Dvorak Date: Mon, 21 Sep 2026 19:53:14 +0200 Subject: [PATCH] fix(release): per-binary archives + dist ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit One archive can't span builds with different target sets (dash ships 6, dash-agent 3) — split into two archives keyed by build id. Also: `builds` is deprecated in goreleaser v2, renamed to `ids`. Snapshot validated locally: 9 archives, checksums, embedded UI, migrations on boot. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .gitignore | 1 + .goreleaser.yaml | 6 ++++++ apps/backend/internal/web/dist/index.html | 4 ++-- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index aaa04fb..c85899f 100644 --- a/.gitignore +++ b/.gitignore @@ -20,6 +20,7 @@ data/* # misc .DS_Store coverage/ +dist/ # local tooling artifacts .playwright-mcp/ diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 5810939..c39d727 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -31,12 +31,18 @@ builds: archives: - id: dash + ids: [dash] formats: [tar.gz] name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}" format_overrides: - goos: windows formats: [zip] files: [README.md, LICENSE] + - id: dash-agent + ids: [dash-agent] + formats: [tar.gz] + name_template: "{{ .ProjectName }}-agent_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}" + files: [README.md, LICENSE] checksum: name_template: "checksums.txt" diff --git a/apps/backend/internal/web/dist/index.html b/apps/backend/internal/web/dist/index.html index 8e21f5d..21b8ed0 100644 --- a/apps/backend/internal/web/dist/index.html +++ b/apps/backend/internal/web/dist/index.html @@ -12,8 +12,8 @@ document.documentElement.dataset.theme = t === "light" ? "light" : "dark"; } catch (e) {} - - + +