mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-09 17:07:43 +01:00
"Build Script added"
This commit is contained in:
parent
0f295e25c6
commit
6025336686
1 changed files with 1 additions and 2 deletions
|
@ -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"])
|
||||
|
|
Loading…
Reference in a new issue