doc: fix get git tag in buildbot

This commit is contained in:
Matthias Ringwald 2020-10-08 09:58:00 +02:00
parent 4687e2cbe0
commit 1cc8850a16
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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`