File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ for file in $(find . -print | sed 's|^./||' | grep -E "(^services/[^/]+/pyprojec
2020
2121 # special handling for CDN (is in v2 by accident)
2222 if [[ " $dirpath " == " services/cdn" ]]; then
23- if [[ ! " $version " =~ ^v[0-2]\. [0-9]+\. [0-9]+$ ]]; then
23+ if [[ ! " $version " =~ ^v? [0-2]\. [0-9]+\. [0-9]+$ ]]; then
2424 echo " >> $dirpath "
2525 echo " The version '$version ' is invalid."
2626 exit 1
@@ -29,7 +29,7 @@ for file in $(find . -print | sed 's|^./||' | grep -E "(^services/[^/]+/pyprojec
2929 fi
3030
3131 # verify version
32- if [[ ! " $version " =~ ^v[0-1]\. [0-9]+\. [0-9]+$ ]]; then
32+ if [[ ! " $version " =~ ^v? [0-1]\. [0-9]+\. [0-9]+$ ]]; then
3333 echo " >> $dirpath "
3434 echo " The version '$version ' is invalid."
3535 exit 1
You can’t perform that action at this time.
0 commit comments