Browse Source

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.
reviewable/pr6466/r25
Anthony Bilinski 4 years ago
parent
commit
3f2d953473
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
  1. 2
      .github/workflows/build-test-deploy.yaml
  2. 3
      .travis/build-docs.sh

2
.github/workflows/build-test-deploy.yaml

@ -506,6 +506,8 @@ jobs: @@ -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:

3
.travis/build-docs.sh

@ -23,8 +23,7 @@ set -eu -o pipefail @@ -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

Loading…
Cancel
Save