Commit a1a26749 authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

Add script for bumping version

devflow-bump-version updates the version file that exists at the
toplevel of the git repository and commits the change.
parent 7c1589db
......@@ -497,6 +497,7 @@ def bump_version(new_version):
if not lines[i].startswith("#"):
lines[i] = lines[i].replace(old_version, new_version)
f.seek(0)
f.truncate(0)
f.writelines(lines)
f.close()
......
Markdown is supported
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