Skip to content

Commit

Permalink
Merge pull request #1265 from eclipse-tractusx/chore/xxx-fix-testdata…
Browse files Browse the repository at this point in the history
…-format

chore(update): xxx - fix regex for version input
  • Loading branch information
ds-mwesener authored Jul 22, 2024
2 parents bb07f86 + e7c28a9 commit 0f93be8
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 0f93be8

Please sign in to comment.