Skip to content

Commit 8d56a4a

Browse files
committed
Only test branch name prefix
1 parent 218f3c2 commit 8d56a4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/schema-publish.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ branch=$(git branch --show-current)
99

1010

1111
if [ -z "$1" ]; then
12-
if [[ $branch =~ ^v([0-9]+\.[0-9]+)-dev$ ]]; then
12+
if [[ $branch =~ ^v([0-9]+\.[0-9]+)-dev ]]; then
1313
version="${BASH_REMATCH[1]}"
1414
deploydir="./deploy/oas/${version}"
1515
else

0 commit comments

Comments
 (0)