Skip to content

Commit

Permalink
Fixed regex for releaser (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErwinsExpertise committed Dec 14, 2021
1 parent 0c1ce29 commit 502a084
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/releaser.yml
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Check Message
id: check-msg
run: |
pattern="^Release v[0-9].[0-9].[0-9] #(minor|major|patch)$"
pattern="^Release v[0-9]+.[0-9]+.[0-9]+ #(minor|major|patch)$"
if [[ "${{ github.event.head_commit.message }}" =~ ${pattern} ]]; then
echo ::set-output name=match::true
fi
Expand Down Expand Up @@ -75,4 +75,4 @@ jobs:
env:
MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
MATTERMOST_USERNAME: ${{ secrets.MATTERMOST_USERNAME}}
MATTERMOST_ICON: ${{ secrets.MATTERMOST_ICON }}
MATTERMOST_ICON: ${{ secrets.MATTERMOST_ICON }}

0 comments on commit 502a084

Please sign in to comment.