diff options
| author | Phil Nash | 2017-03-03 15:36:15 +0000 |
|---|---|---|
| committer | Phil Nash | 2017-03-03 15:40:32 +0000 |
| commit | b4c9bf580205935b70b0805a7b72f3bf4d5bf892 (patch) | |
| tree | c6fc17b36af9f5533c6a118e120ea3f39bdbee5b /scripts | |
| parent | e952fa89463371463f54dd866d79d513f9c9eed6 (diff) | |
| download | catch3-b4c9bf580205935b70b0805a7b72f3bf4d5bf892.tar.gz | |
Removed version # from readme
- and script that updates it (as it’s now automatically in a badge)
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/releaseCommon.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/releaseCommon.py b/scripts/releaseCommon.py index 236bfbd0..91a90628 100644 --- a/scripts/releaseCommon.py +++ b/scripts/releaseCommon.py @@ -75,7 +75,6 @@ class Version: f.write( line + "\n" ) def updateReadmeFile(self): - versionParser = re.compile( r'\*v\d+\.\d+\.\d+\*' ) downloadParser = re.compile( r'<a href=\"https://github.com/philsquared/Catch/releases/download/v\d+\.\d+\.\d+/catch.hpp\">' ) f = open( readmePath, 'r' ) lines = [] @@ -84,7 +83,6 @@ class Version: f.close() f = open( readmePath, 'w' ) for line in lines: - line = versionParser.sub( '*v{0}*'.format(self.getVersionString()), line) line = downloadParser.sub( r'<a href="https://github.com/philsquared/Catch/releases/download/v{0}/catch.hpp">'.format(self.getVersionString()) , line) f.write( line + "\n" ) |