Skip to content

Commit b9b085d

Browse files
committed
VERSION automatically configured
1 parent 165fb7c commit b9b085d

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/ttboard/__init__.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,13 @@
66
@author: Pat Deegan
77
@copyright: Copyright (C) 2024 Pat Deegan, https://psychogenic.com
88
'''
9-
VERSION='0.9.17'
9+
import os
10+
11+
VERSION='0.0.0'
12+
13+
14+
relfiles = list(
15+
map(lambda v: v.replace('release_v', ''),
16+
filter(lambda f: f.startswith('release_v'), os.listdir('/'))) )
17+
if len(relfiles):
18+
VERSION = relfiles[0]

0 commit comments

Comments
 (0)