Skip to content

Commit

Permalink
Change to fetch-depth 0 to get all tags
Browse files Browse the repository at this point in the history
  • Loading branch information
dalito committed Sep 3, 2023
1 parent 8c48a22 commit 958e32f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ jobs:
with:
ref: gh-pages
path: publish
fetch-depth: 1
# Using fetch-depth 0 is the only way to get all tags which are needed for building docs.
fetch-depth: 0

- uses: actions/setup-python@v4
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ jobs:
with:
ref: gh-pages
path: publish
fetch-depth: 1
# Using fetch-depth 0 is the only way to get all tags which are needed for building docs.
fetch-depth: 0

- uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit 958e32f

Please sign in to comment.