adds build code

This commit is contained in:
Michel Fedde 2024-01-29 21:57:05 +01:00
parent 8dc3d08c01
commit 791639bbe7
6 changed files with 64 additions and 0 deletions

View file

@ -0,0 +1,12 @@
import os
import versioning
CURRENT_PATH = os.path.dirname(os.path.realpath(__file__))
CURRENT_VER_FILE = os.path.join(CURRENT_PATH, ".version")
if __name__ == "__main__":
currentVersion = versioning.get_version()
nextVersion = currentVersion.bump_major()
versioning.save_version(nextVersion)