New build version scheme (#305)

* Use separate build tag file

* Implement new versioning scheme

* Update workflow file
This commit is contained in:
2023-04-10 06:43:23 -06:00
committed by GitHub
parent dbb959f648
commit 80bbbafeb6
5 changed files with 13 additions and 16 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ def command(ctx):
# See: https://stackoverflow.com/a/20885799/1701505
from . import data
with importlib.resources.open_text(data, "version.txt") as version_file:
with importlib.resources.open_text(data, "build_tag.txt") as version_file:
# TODO: code better version that skips comment lines
version_string = version_file.read().splitlines()[1]