Fix tag references in builds

This commit is contained in:
Rapptz 2021-01-08 04:39:24 -05:00
parent 166f837693
commit c09cf779a3

View File

@ -93,7 +93,7 @@ with open('../discord/__init__.py') as f:
release = version
# This assumes a tag is available for final releases
branch = 'master' if version.endswith('a') else version
branch = 'master' if version.endswith('a') else 'v' + version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.