Skip to content

Commit

Permalink
Ensure git tags are available before replacing versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Clauss committed May 7, 2024
1 parent c831d50 commit 2d68ab9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
- name: Build v3 docs
run: |
cd v3
git fetch --unshallow
git fetch --tags
tool/replace-versions.sh
cd docs
sed -i'.bak' "s|base:.*|base: '/v3/',|" docs/.vuepress/config.ts
Expand All @@ -43,6 +45,8 @@ jobs:
- name: Build main docs
run: |
cd main
git fetch --unshallow
git fetch --tags
tool/replace-versions.sh
cd docs
sed -i'.bak' "s|base:.*|base: '/',|" docs/.vuepress/config.ts
Expand Down

0 comments on commit 2d68ab9

Please sign in to comment.