fix: fix JS version grep

This commit is contained in:
Ben Goldsworthy 2021-06-19 09:55:59 +01:00
parent 3eeef30147
commit 54bedd651c

View file

@ -65,7 +65,7 @@ echo "- Checking versions..."
STABLE_TAG="$(grep "Stable Tag:" src/readme.txt)"
ROOT_HEADER_VERSION="$(grep " Version:" src/footnotes.php | grep -Po " Version: \d+\.\d+(\.\d+)?[a-z]?$")"
JS_VERSION="$(grep "version :" src/js/wysiwyg-editor.js)"
JS_VERSION="$(grep "version:" src/js/wysiwyg-editor.js)"
# Step 3(b): Check that all version declarations exists