mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-28 08:37:22 +00:00
doc: fix get git tag in buildbot
This commit is contained in:
parent
4687e2cbe0
commit
1cc8850a16
@ -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
|
||||
|
@ -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`
|
||||
|
Loading…
x
Reference in New Issue
Block a user