mirror of
https://github.com/lightninglabs/pool.git
synced 2026-08-13 12:33:04 +02:00
scripts: use git describe --tags
When building a release we want to use the right tag, even if it was not annotated.
This commit is contained in:
parent
5e95640ec6
commit
a64b95cfd3
2 changed files with 2 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ function check_tag_correct() {
|
|||
local tag=$1
|
||||
|
||||
# If a tag is specified, ensure that that tag is present and checked out.
|
||||
if [[ $tag != $(git describe) ]]; then
|
||||
if [[ $tag != $(git describe --tags) ]]; then
|
||||
red "tag $tag not checked out"
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue