From e8c1e1be2907419e1dd2d80ca437d41799cf3b4c Mon Sep 17 00:00:00 2001 From: zacharyburnett Date: Thu, 12 Sep 2024 14:39:21 -0400 Subject: [PATCH] fetch tags before towncrier docs build --- .readthedocs.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 7c925348d1..147e0ae6a7 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -12,6 +12,7 @@ build: # in that case exit the command with 183 to skip the build - MSG=`git --no-pager log --pretty="tformat:%s -- %b" -1`; case $MSG in *"skip rtd"*|*"rtd skip"*) exit 183;; *);; esac post_install: + - git fetch --tags - towncrier build --keep sphinx: