adds build code
This commit is contained in:
parent
8dc3d08c01
commit
791639bbe7
6 changed files with 64 additions and 0 deletions
12
build/bump_major_version.py
Normal file
12
build/bump_major_version.py
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue