From 1cc8850a162636b6ffb5115e87a73202bd68f362 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Thu, 8 Oct 2020 09:58:00 +0200 Subject: [PATCH] doc: fix get git tag in buildbot --- doc/manual/update_mkdocs_yml.sh | 2 +- tool/package.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/manual/update_mkdocs_yml.sh b/doc/manual/update_mkdocs_yml.sh index 2a93b3d05..c368d5eb2 100755 --- a/doc/manual/update_mkdocs_yml.sh +++ b/doc/manual/update_mkdocs_yml.sh @@ -1,7 +1,7 @@ #!/usr/bin/env sh # get commit and tag -tag=`git tag --points-at` +tag=`git tag --points-at HEAD` commit=`git rev-parse --short HEAD` # use tag if available diff --git a/tool/package.sh b/tool/package.sh index d4f03ad11..1bc7ff6b9 100755 --- a/tool/package.sh +++ b/tool/package.sh @@ -5,7 +5,7 @@ TOOL_DIR=`dirname "$0"` BTSTACK_ROOT=`realpath ${TOOL_DIR}/..` # get tag from git -tag=`git tag --points-at` +tag=`git tag --points-at HEAD` # get git version commit=`git rev-parse --short HEAD`