catch2/scripts/majorRelease.py
2017-01-20 12:28:40 +01:00

11 lines
262 B
Python

#!/usr/bin/env python
from __future__ import print_function
from releaseCommon import Version
v = Version()
v.incrementMajorVersion()
v.updateVersionFile()
v.updateReadmeFile()
print( "Updated Version.hpp and README to v{0}".format( v.getVersionString() ) )