diff --git a/source/conf.py b/source/conf.py index f3e947a..1c4761f 100644 --- a/source/conf.py +++ b/source/conf.py @@ -27,9 +27,8 @@ version_file = Path(__file__).parent.parent / 'vineflower-version' -# The short X.Y versions -# The full api version, including alpha/beta/rc tags -release = '1.9.3' +with open(version_file, 'rt', encoding='utf-8') as fp: + release = fp.readline().strip() rst_prolog = f""" .. |version| replace:: {release}