1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

chore(CI): Revert 8a72928ad1

"chore(travis): don't fail generating docs when there's no git version"

No longer a concern on GH actions which allows deep clones.
This commit is contained in:
Anthony Bilinski 2022-02-16 08:13:32 -08:00
parent 17c4ad4ba7
commit 3f2d953473
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
2 changed files with 3 additions and 2 deletions

View File

@ -506,6 +506,8 @@ jobs:
DOXYGEN_CONFIG_FILE: doxygen.conf
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Run
run: ./.travis/build-docs.sh
build-gitstats:

View File

@ -23,8 +23,7 @@ set -eu -o pipefail
sudo apt-get update -qq
sudo apt-get install doxygen graphviz
# can fail due to travis cloning only `depth=50`
GIT_DESC=$(git describe --tags 2>/dev/null || echo HEAD)
GIT_DESC=$(git describe --tags 2>/dev/null)
GIT_CHASH=$(git rev-parse HEAD)
# Append git version to doxygen version string