[] Fix version linter.

Signed-off-by: Ori Bruk <o.bruk@yadro.com>
This commit is contained in:
Ori Bruk 2024-10-23 12:48:11 +03:00
parent eb2f553855
commit ac487a132c

View file

@ -26,7 +26,7 @@ fmt:
vsn: vsn:
@diff1=$$(git branch -a); \ @diff1=$$(git branch -a); \
echo $$diff1; \ echo $$diff1; \
diff=$$(git diff-index master version.json); \ diff=$$(git diff-index remotes/origin/master version.json); \
if [[ -z "$$diff" ]]; then \ if [[ -z "$$diff" ]]; then \
echo "⇒ You need to update the api version in the version.json file"; \ echo "⇒ You need to update the api version in the version.json file"; \
exit 1;\ exit 1;\