From 9067342a49c92498e13b6afb132767da6afc5a28 Mon Sep 17 00:00:00 2001 From: lxmou666 <772765102@qq.com> Date: Thu, 11 Jun 2026 09:56:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/deploy-cl?= =?UTF-8?q?ient.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy-client.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/deploy-client.yml b/.gitea/workflows/deploy-client.yml index a706616..79cb75d 100644 --- a/.gitea/workflows/deploy-client.yml +++ b/.gitea/workflows/deploy-client.yml @@ -6,7 +6,7 @@ name: deploy-client on: push: tags: - - 'deploy-cv*.*.*' + - 'deploy-cv*.*.*.*' jobs: deploy: @@ -20,10 +20,10 @@ jobs: Set-StrictMode -Version Latest $ErrorActionPreference = 'Stop' - # 从触发标签解析版本号: deploy-cv1.2.3 -> 1.2.3 + # 从触发标签解析版本号: deploy-cv1.2.3.4 -> 1.2.3.4 $deployTag = '${{ github.ref_name }}' - if (-not ($deployTag -match '^deploy-cv(\d+\.\d+\.\d+)$')) { - throw "Trigger tag '$deployTag' must match deploy-cvx.x.x." + if (-not ($deployTag -match '^deploy-cv(\d+\.\d+\.\d+\.\d+)$')) { + throw "Trigger tag '$deployTag' must match deploy-cvx.x.x.x." } $version = $Matches[1]