mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
chore(travis): don't fail generating docs when there's no git version
Can happen due to travis cloning only 50 latest revisions.
This commit is contained in:
parent
3539e84051
commit
8a72928ad1
|
@ -22,7 +22,8 @@ set -eu -o pipefail
|
||||||
# Obtain doxygen and its deps
|
# Obtain doxygen and its deps
|
||||||
sudo apt-get install doxygen graphviz
|
sudo apt-get install doxygen graphviz
|
||||||
|
|
||||||
GIT_DESC=$(git describe --tags 2> /dev/null)
|
# can fail due to travis cloning only `depth=50`
|
||||||
|
GIT_DESC=$(git describe --tags 2>/dev/null || echo HEAD)
|
||||||
GIT_CHASH=$(git rev-parse HEAD)
|
GIT_CHASH=$(git rev-parse HEAD)
|
||||||
|
|
||||||
# Append git version to doxygen version string
|
# Append git version to doxygen version string
|
||||||
|
|
Loading…
Reference in New Issue
Block a user