Commit 19225ce8 authored by Francesco Witz's avatar Francesco Witz
Browse files

fix: version incrementation

parent e1801196
......@@ -61,8 +61,11 @@ def versioning(args, project_path: str):
# Depending on the argument, updating the correct part of the version
if args == 'n':
version[0] += 1
version[1] = 0
version[2] = 0
elif args == 'u':
version[1] += 1
version[2] = 0
elif args == 'f':
version[2] += 1
# Rebuilding version string and write it back to config file. Also adding git tag
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment