Skip to content

Commit ec16003

Browse files
committed
fix version check
1 parent 94e8432 commit ec16003

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/deploy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ echo
7676

7777
exit_status=0
7878

79-
if grep -Fxq "${version}" openapi.yaml; then
79+
if grep -Fxq " version: ${version}" openapi.yaml; then
8080
echo "OK - version ${version} is present in openapi.yaml"
8181
else
8282
echo "ERROR - version ${version} is not present in openapi.yaml"

0 commit comments

Comments
 (0)