Skip to content
Snippets Groups Projects
Commit 7b8e5cc2 authored by Gerardo Tauriello's avatar Gerardo Tauriello
Browse files

SCHWED-4329: simplify script

parent 3ef1ed0e
No related branches found
No related tags found
No related merge requests found
......@@ -10,11 +10,7 @@ if len(sys.argv) < 2:
# split up version number
version_string = sys.argv[1]
version = version_string.split('.')
if len(version) == 2:
major, minor, patch = (int(version[0]), int(version[1]), 0)
version_string += ".0"
else:
major, minor, patch = (int(version[0]), int(version[1]), int(version[2]))
major, minor, patch = (int(version[0]), int(version[1]), int(version[2]))
# fix CMakeLists
lines = open("CMakeLists.txt").readlines()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment