We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 000a4ad commit bf26ec2Copy full SHA for bf26ec2
freeze_version.py
@@ -2,6 +2,7 @@
2
import os
3
import git
4
from datetime import date
5
+from src.python_osw_validation.version import __version__
6
7
project_path = os.path.dirname(os.path.abspath(__file__))
8
version_file_path = '{}/version.py'.format(project_path)
@@ -11,7 +12,7 @@
11
12
13
build_date = date.today().strftime('%Y-%m-%d')
14
-version = '0.0.6'
15
+version = __version__
16
17
with open(version_file_path, 'w+') as version_file:
18
version_file.write("version = '{}'\n".format(version))
0 commit comments