New build version scheme (#305)

* Use separate build tag file

* Implement new versioning scheme

* Update workflow file
This commit is contained in:
dboreham authored and GitHub committed 2023-04-10 06:43:23 -06:00
1 parent dbb959f648
commit 80bbbafeb6
5 files changed
+13 -16

No files matched your search

+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]