catch2/scripts/majorRelease.py

11 lines
262 B
Python
Raw Permalink Normal View History

#!/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() ) )