Escape '.' in version validation regex in deployment workflow

This commit is contained in:
Tyler McGoffin 2024-12-26 10:50:09 -08:00
parent 1386e3671f
commit 5fc56ded50

View file

@ -33,7 +33,7 @@ jobs:
steps:
- name: Validate tag name format
run: |
if [[ ! "${{ inputs.tag_name }}" =~ ^v[0-9]+.[0-9]+.[0-9]+$]]; then
if [[ ! "${{ inputs.tag_name }}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$]]; then
echo "Invalid tag name format. Must be in the form v1.2.3"
exit 1
fi