Skip to content

Commit bf26ec2

Browse files
committed
Updated version
1 parent 000a4ad commit bf26ec2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

freeze_version.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import os
33
import git
44
from datetime import date
5+
from src.python_osw_validation.version import __version__
56

67
project_path = os.path.dirname(os.path.abspath(__file__))
78
version_file_path = '{}/version.py'.format(project_path)
@@ -11,7 +12,7 @@
1112

1213
build_date = date.today().strftime('%Y-%m-%d')
1314

14-
version = '0.0.6'
15+
version = __version__
1516

1617
with open(version_file_path, 'w+') as version_file:
1718
version_file.write("version = '{}'\n".format(version))

0 commit comments

Comments
 (0)