From 2ce39ff2a6fe9670b122325331b32b76a4545ea3 Mon Sep 17 00:00:00 2001 From: Brett Date: Mon, 18 Nov 2024 12:24:48 -0500 Subject: [PATCH] don't call towncrier for docs built from tags --- .readthedocs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 7c90a22e9..6ac358c21 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -14,7 +14,7 @@ build: pre_install: - git update-index --assume-unchanged docs/rtd_environment.yaml docs/conf.py post_install: - - towncrier build --keep + - git describe --exact-match || towncrier build --keep conda: environment: docs/rtd_environment.yaml