add VERSION

This commit is contained in:
Sam 2019-08-03 11:50:34 +02:00
parent de825904c4
commit 8762bc1779
2 changed files with 5 additions and 3 deletions

1
VERSION Normal file
View File

@ -0,0 +1 @@
0.2.0-beta

View File

@ -12,6 +12,7 @@
#
import os
import sys
from pathlib import Path
import sphinx_bootstrap_theme
@ -28,10 +29,10 @@ project = 'FitTrackee'
copyright = '2018 - 2019, SamR1'
author = 'SamR1'
# The full version, including alpha/beta/rc tags.
release = (Path(__file__).parent.parent.parent / 'VERSION').read_text()
# The short X.Y version.
version = '0.2.0'
# The full version, including alpha/beta/rc tags
release = '0.2.0-beta'
version = release.split('-')[0]
# -- General configuration ---------------------------------------------------