Skip to content

Commit

Permalink
Update hello_world.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
abuchanan-airbyte authored Sep 5, 2024
1 parent a78d92b commit 24ce75b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/hello_world.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ jobs:
steps:
- name: Validate tag
run: |
[[ "${{ inputs.tag_name }}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]] && echo "tag name is ok"
if [[ ! "${{ inputs.tag_name }}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "tag is invalid: must be in the form 'v0.0.0'"
exit 1
fi
- name: Create tag
uses: actions/github-script@v5
with:
Expand Down

0 comments on commit 24ce75b

Please sign in to comment.