Skip to content

Commit f936e52

Browse files
committed
Don't do unreleased changelog on tagged builds
1 parent 9a37aa4 commit f936e52

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.readthedocs.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ build:
66
python: "3.12"
77
jobs:
88
pre_build:
9-
- towncrier build --version Unreleased --yes
9+
- |
10+
if [ "$READTHEDOCS_VERSION_TYPE" != "tag" ];
11+
then
12+
towncrier build --version Unreleased --yes;
13+
fi
1014
1115
sphinx:
1216
configuration: docs/conf.py

0 commit comments

Comments
 (0)