Skip to content

Commit

Permalink
chore(update): xxx - fix regex for version input
Browse files Browse the repository at this point in the history
  • Loading branch information
ds-mwesener committed Jul 22, 2024
1 parent bb07f86 commit e7c28a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/argo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ jobs:
- name: Check Testdata Version Format
run: |
if [[ ! "${{ github.event.inputs.testdata_version }}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo "Invalid Testdata Version format. Please use X.X.X, e.g., 1.1.12"
if [[ ! "${{ github.event.inputs.testdata_version }}" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9]+)?$ ]]; then
echo "Invalid Testdata Version format. Please use X.X.X or X.X.X-suffix, e.g., 1.1.12"
exit 1
fi
Expand Down

0 comments on commit e7c28a9

Please sign in to comment.