Skip to content

Commit

Permalink
docs/RTD: fetch tags
Browse files Browse the repository at this point in the history
Otherwise "stable" will have wrong version tags under certain
circumstances.
  • Loading branch information
hynek committed Jul 17, 2024
1 parent d4ea660 commit d4f9b0e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ build:
# Keep version in sync with tox.ini/docs and ci.yml/docs
python: "3.12"
jobs:
# Need the tags to calculate the version
post_checkout:
- git fetch --tags

# Replace versions in sponsor URLs
pre_build:
- cog -rP docs/index.md

Expand Down

0 comments on commit d4f9b0e

Please sign in to comment.