Skip to content

Commit

Permalink
fix err
Browse files Browse the repository at this point in the history
  • Loading branch information
mo3et committed Sep 27, 2024
1 parent d990fd8 commit 59c6813
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/change-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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"
Expand Down

0 comments on commit 59c6813

Please sign in to comment.