From c15f3872ee8fa526283e76029e57316761930a56 Mon Sep 17 00:00:00 2001 From: TrueNine Date: Mon, 16 Feb 2026 01:09:44 +0800 Subject: [PATCH] fix(ci): sync tauri.conf.json version in release-gui workflow Closes #2 Co-Authored-By: Claude Opus 4.6 --- .github/workflows/release-gui.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-gui.yml b/.github/workflows/release-gui.yml index 522910b4..a402836e 100644 --- a/.github/workflows/release-gui.yml +++ b/.github/workflows/release-gui.yml @@ -127,7 +127,8 @@ jobs: version=$(jq -r '.version' cli/package.json) sed -i.bak "s/^version = \".*\"/version = \"${version}\"/" gui/src-tauri/Cargo.toml rm -f gui/src-tauri/Cargo.toml.bak - echo "Synced Cargo.toml version to ${version}" + jq --arg v "$version" '.version = $v' gui/src-tauri/tauri.conf.json > gui/src-tauri/tauri.conf.tmp && mv gui/src-tauri/tauri.conf.tmp gui/src-tauri/tauri.conf.json + echo "Synced Cargo.toml and tauri.conf.json version to ${version}" - name: Clean old bundle artifacts shell: bash