From d84e8265b07fc23300b75f0c13bfd9533192595c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E7=94=B5=E8=8A=BD=E8=A1=A3?= Date: Sat, 10 Oct 2026 21:18:10 -0400 Subject: [PATCH] Release workflow: wsl --exec, so WSL's shell leaves the script's variables alone Co-Authored-By: Claude Opus 5.5 --- .gitea/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 171267b..6779ff4 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -47,7 +47,7 @@ jobs: ELY_RELEASE_TOKEN: ${{ secrets.GITEA_TOKEN }} WSLENV: ELY_RELEASE_TOKEN run: | - wsl -d Ubuntu -- bash -lc ' + wsl -d Ubuntu --exec bash -lc ' set -euo pipefail dir=$HOME/ely-ci/ElyOffice [ -d "$dir/.git" ] || git clone https://git.zacharyzhang.com/ZacharyZhang-NY/ElyOffice.git "$dir"