[#68] Fix version linter.
Some checks failed
Formatters / Run fmt (pull_request) Successful in 25s
Pre-commit hooks / Pre-commit (pull_request) Failing after 36s
DCO action / DCO (pull_request) Successful in 40s

Signed-off-by: Ori Bruk <o.bruk@yadro.com>
This commit is contained in:
Ori Bruk 2024-10-23 12:40:44 +03:00
parent ad87868ce2
commit 359c831122

View file

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