From 52df4cc869aa7a9361a411ff5185320520b6c967 Mon Sep 17 00:00:00 2001 From: Denis Bykhov Date: Thu, 1 Aug 2024 15:20:20 +0500 Subject: [PATCH] Update model version and fix check script (#6218) Signed-off-by: Denis Bykhov --- common/scripts/check_model_version.js | 2 +- common/scripts/version.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/scripts/check_model_version.js b/common/scripts/check_model_version.js index 1c0d2bcd0f..f54810545d 100755 --- a/common/scripts/check_model_version.js +++ b/common/scripts/check_model_version.js @@ -1,6 +1,6 @@ const exec = require('child_process').exec -exec('git describe --tags --abbrev=0', (err, stdout, stderr) => { +exec('git describe --tags `git rev-list --tags --max-count=1`', (err, stdout, stderr) => { if (err !== null) { process.exit(1) } diff --git a/common/scripts/version.txt b/common/scripts/version.txt index dd866b3be9..0fa1e44bad 100644 --- a/common/scripts/version.txt +++ b/common/scripts/version.txt @@ -1 +1 @@ -"0.6.266" \ No newline at end of file +"0.6.270" \ No newline at end of file