"Build Script added"

This commit is contained in:
Manuel Fritsch 2021-02-07 13:54:31 +01:00
parent 0f295e25c6
commit 6025336686

View file

@ -18,10 +18,9 @@ def commit(m):
build += 1
new_version = "__version__ = \"{}.{}.{}.{}\"".format(major,minor,patch, build)
with open(file,'w',encoding = 'utf-8') as file:
print("New Version {}".format(new_version) )
print("New Version {}.{}.{}.{}".format(major,minor,patch, build))
file.write(new_version)
subprocess.run(["git", "add", "-A"])
subprocess.run(["git", "commit", "-m", "\"{}\"".format(m)])
subprocess.run(["git", "push"])