Removed version # from readme

- and script that updates it (as it’s now automatically in a badge)
This commit is contained in:
Phil Nash 2017-03-03 15:36:15 +00:00
parent e952fa8946
commit b4c9bf5802
2 changed files with 0 additions and 4 deletions

View File

@ -1,7 +1,5 @@
![catch logo](catch-logo-small.png)
*v1.8.1*
[![Github Releases](https://img.shields.io/github/release/philsquared/catch.svg)](https://github.com/philsquared/catch/releases)
[![Build Status](https://travis-ci.org/philsquared/Catch.svg?branch=master)](https://travis-ci.org/philsquared/Catch)
[![Build status](https://ci.appveyor.com/api/projects/status/hrtk60hv6tw6fght/branch/master?svg=true)](https://ci.appveyor.com/project/philsquared/catch/branch/master)

View File

@ -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" )