From 59c6813c56bd811aa2a53d423d768a14d7828981 Mon Sep 17 00:00:00 2001 From: Monet Lee Date: Fri, 27 Sep 2024 09:55:29 +0800 Subject: [PATCH] fix err --- .github/workflows/change-release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/change-release.yml b/.github/workflows/change-release.yml index 7e21064..5ecbbe8 100644 --- a/.github/workflows/change-release.yml +++ b/.github/workflows/change-release.yml @@ -6,7 +6,7 @@ on: jobs: update-version: - if: startsWith(github.event.release.tag_name, 'v') && github.event.release.tag_name =~ /^v\d+\.\d+\.\d+$/ + if: startsWith(github.event.release.tag_name, 'v') && contains(github.event.release.tag_name, '.') runs-on: ubuntu-latest env: TAG_VERSION: ${{ github.event.release.tag_name }} @@ -19,6 +19,7 @@ jobs: fetch-depth: 0 # Step 2: Set up Git with official account + - name: Set up Git run: | git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com"