From 40fcd1b469669a64a86e51d96d71b800bc0a492f Mon Sep 17 00:00:00 2001 From: LyAhn Date: Sun, 14 Jun 2026 19:58:54 +0100 Subject: [PATCH] ci(release): un-ignore tauri.conf.json + fix updater-json input - tauri-action globs for tauri.conf.json honoring .gitignore; the global *.json rule hid it (force-added but still ignore-matched), so detection failed with 'Failed to resolve Tauri path' and it tried to re-init. Negate it like the cuda overlay already is. - rename uploadUpdaterJson -> includeUpdaterJson (valid v0.6.2 input). --- .github/workflows/release.yml | 2 +- .gitignore | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 41b9738..85265c6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,7 +50,7 @@ jobs: releaseBody: 'See the assets below to download and install this version.' releaseDraft: true prerelease: false - uploadUpdaterJson: true + includeUpdaterJson: true updaterJsonPreferNsis: true # Cargo args after `--`: ship the CPU/DirectML build — default # features enable candle-cuda, which runners (and most users) lack. diff --git a/.gitignore b/.gitignore index df5794f..b31ee25 100644 --- a/.gitignore +++ b/.gitignore @@ -40,5 +40,9 @@ dist-ssr # locally; ~600 MB, never committed). See RELEASE_PLAN.md "CUDA release variant". src-tauri/cuda-redist/ -# Keep the CUDA build config overlay tracked despite the *.json rule above. +# Keep the Tauri configs tracked despite the *.json rule above. tauri.conf.json +# must also be un-ignored so tauri-action can find it: it globs for the config +# honoring .gitignore, and an ignored config makes the release build fail with +# "Failed to resolve Tauri path". +!src-tauri/tauri.conf.json !src-tauri/tauri.cuda.conf.json