Skip to content

Commit 544d292

Browse files
authored
Merge pull request #37 from iquzart/develop
Develop
2 parents 124a75a + 6c19450 commit 544d292

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/create-release.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@ jobs:
3333
runs-on: ubuntu-latest
3434
steps:
3535
- name: Check if tag is valid
36+
if: ${{ github.event_name == 'workflow_dispatch' }}
3637
run: |
3738
if [[ ! "${{ github.ref_name }}" =~ ^refs/tags/v.* ]]; then
38-
echo "This workflow must only run for a tag and not a branch."
39-
exit 1
39+
echo "Failure: The workflow was triggered by a branch or an invalid tag."
40+
exit 1
4041
fi
4142
4243
- name: Checkout code

0 commit comments

Comments
 (0)