Skip to content

Commit d4f9b0e

Browse files
committed
docs/RTD: fetch tags
Otherwise "stable" will have wrong version tags under certain circumstances.
1 parent d4ea660 commit d4f9b0e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.readthedocs.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ build:
77
# Keep version in sync with tox.ini/docs and ci.yml/docs
88
python: "3.12"
99
jobs:
10+
# Need the tags to calculate the version
11+
post_checkout:
12+
- git fetch --tags
13+
14+
# Replace versions in sponsor URLs
1015
pre_build:
1116
- cog -rP docs/index.md
1217

0 commit comments

Comments
 (0)