From 39ba4f93241e2121578518712250582a8345304b Mon Sep 17 00:00:00 2001 From: Gitea Actions Date: Thu, 9 Oct 2025 17:24:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BD=91=E7=BB=9C=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/gui-version-release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/gui-version-release.yml b/.gitea/workflows/gui-version-release.yml index 0c2f941..ae86acc 100644 --- a/.gitea/workflows/gui-version-release.yml +++ b/.gitea/workflows/gui-version-release.yml @@ -111,8 +111,12 @@ jobs: $configContent = Get-Content "config.py" -Raw if ($configContent -match 'APP_VERSION\s*=\s*"([\d.]+)"') { $VERSION = $matches[1] - Write-Host "Detected version: $VERSION" + Write-Host "Extracted version from config.py: $VERSION" + } else { + Write-Host "Failed to extract version from config.py" } + } else { + Write-Host "config.py not found" } # Set version for next steps