From 72a03dac338ff410726658f0e6bdc717b1cb5795 Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Wed, 10 Jun 2026 18:56:23 -0400 Subject: [PATCH] fix: patch version with PowerShell instead of python3 on Windows runner Co-Authored-By: Claude Sonnet 4.6 --- .gitea/workflows/release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index aa9a318..6cad1a8 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -59,7 +59,11 @@ jobs: - name: Patch version shell: powershell - run: python3 -c "import json; d=json.load(open('src-tauri/tauri.conf.json')); d['version']='${{ needs.prepare.outputs.version }}'; open('src-tauri/tauri.conf.json','w').write(json.dumps(d,indent=2))" + run: | + $ver = '${{ needs.prepare.outputs.version }}' + $d = Get-Content 'src-tauri/tauri.conf.json' -Raw | ConvertFrom-Json + $d.version = $ver + $d | ConvertTo-Json -Depth 100 | Set-Content 'src-tauri/tauri.conf.json' -Encoding UTF8 - name: Install frontend deps shell: powershell