Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Francesco Witz
Changelog Generator
Commits
19225ce8
Commit
19225ce8
authored
Feb 13, 2022
by
Francesco Witz
Browse files
fix: version incrementation
parent
e1801196
Changes
1
Hide whitespace changes
Inline
Side-by-side
chlog.py
View file @
19225ce8
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment