From b4c9bf580205935b70b0805a7b72f3bf4d5bf892 Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Fri, 3 Mar 2017 15:36:15 +0000 Subject: [PATCH] =?UTF-8?q?Removed=20version=20#=20from=20readme=20-=20and?= =?UTF-8?q?=20script=20that=20updates=20it=20(as=20it=E2=80=99s=20now=20au?= =?UTF-8?q?tomatically=20in=20a=20badge)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 -- scripts/releaseCommon.py | 2 -- 2 files changed, 4 deletions(-) diff --git a/README.md b/README.md index e631109c..5d68e22e 100644 --- a/README.md +++ b/README.md @@ -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) 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'' ) 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''.format(self.getVersionString()) , line) f.write( line + "\n" )