From cb4a37924949203896a7b847b571d47a5333f1cf Mon Sep 17 00:00:00 2001 From: Apaczer <94932128+Apaczer@users.noreply.github.com> Date: Mon, 26 Aug 2024 21:27:27 +0200 Subject: [PATCH] BOARD-genimage: omit error output from git cmd use `--always` opt for `git describe` --- board/miyoo/scripts/genimage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/miyoo/scripts/genimage.sh b/board/miyoo/scripts/genimage.sh index ddea4e6a..b8789d7a 100755 --- a/board/miyoo/scripts/genimage.sh +++ b/board/miyoo/scripts/genimage.sh @@ -9,7 +9,7 @@ SELFDIR=$(dirname $(realpath ${0})) # Generate CFW release tag, status and append iteration count if test $(git tag | wc -l) -ne 0; then - BR2_TAG="$(git describe --tags --abbrev=0)" + BR2_TAG="$(git describe --tags --always --abbrev=0)" BR2_ITERATION="$(git rev-list --count ${BR2_TAG}..HEAD)" fi