From 70a50bdbf8d01b4a4ade73456fd4f79ccdad4e1a Mon Sep 17 00:00:00 2001 From: orz12 Date: Mon, 26 Aug 2024 06:04:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=89=8D=E5=AF=BC0=E8=A2=AB=E8=AF=86?= =?UTF-8?q?=E5=88=AB=E6=88=90=E5=85=AB=E8=BF=9B=E5=88=B6=EF=BC=88=E5=AE=9E?= =?UTF-8?q?=E9=99=85=E5=BA=94=E8=AF=A5=E6=98=AF=E6=B7=BB=E5=8A=A0=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E5=80=BC=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/CI.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 8cd27bd62..16dcd2446 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -54,7 +54,8 @@ jobs: fi version_code=$(echo $last_tag | cut -d "+" -f 2) - beta_code=0$(echo $last_tag | cut -d "+" -f 1 | cut -d "." -f 4) + beta_code=$(echo $last_tag | cut -d "+" -f 1 | cut -d "." -f 4) + beta_code=${beta_code:-0} echo "beta-code=$beta_code" >> $GITHUB_OUTPUT echo "version-code=$version_code" >> $GITHUB_OUTPUT