Skip to content

Commit 129f0e8

Browse files
authored
Merge pull request #255 from fastfloat/version612
preparing patch release
2 parents 28e7560 + 0460ab8 commit 129f0e8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.9)
22

3-
project(fast_float VERSION 6.1.1 LANGUAGES CXX)
3+
project(fast_float VERSION 6.1.2 LANGUAGES CXX)
44
set(FASTFLOAT_CXX_STANDARD 11 CACHE STRING "the C++ standard to use for fastfloat")
55
set(CMAKE_CXX_STANDARD ${FASTFLOAT_CXX_STANDARD})
66
option(FASTFLOAT_TEST "Enable tests" OFF)

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ the command line help.
379379

380380
You may directly download automatically generated single-header files:
381381

382-
https://github.com/fastfloat/fast_float/releases/download/v6.1.1/fast_float.h
382+
https://github.com/fastfloat/fast_float/releases/download/v6.1.2/fast_float.h
383383

384384
## RFC 7159
385385

script/release.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def colored(r, g, b, text):
1616
return "\033[38;2;{};{};{}m{} \033[38;2;255;255;255m".format(r, g, b, text)
1717

1818
def extractnumbers(s):
19-
return tuple(map(int,re.findall("(\d+)\.(\d+)\.(\d+)",str(s))[0]))
19+
return tuple(map(int,re.findall(r"(\d+)\.(\d+)\.(\d+)",str(s))[0]))
2020

2121
def toversionstring(major, minor, rev):
2222
return str(major)+"."+str(minor)+"."+str(rev)
@@ -90,7 +90,7 @@ def topaddedversionstring(major, minor, rev):
9090

9191

9292
for line in fileinput.input(cmakefile, inplace=1, backup='.bak'):
93-
line = re.sub('project\(fast_float VERSION \d+\.\d+\.\d+ LANGUAGES CXX\)','project(fast_float VERSION '+newmajorversionstring+'.'+mewminorversionstring+'.'+newrevversionstring+" LANGUAGES CXX)", line.rstrip())
93+
line = re.sub(r'project\(fast_float VERSION \d+\.\d+\.\d+ LANGUAGES CXX\)','project(fast_float VERSION '+newmajorversionstring+'.'+mewminorversionstring+'.'+newrevversionstring+" LANGUAGES CXX)", line.rstrip())
9494
print(line)
9595

9696
print("modified "+cmakefile+", a backup was made")
@@ -100,7 +100,7 @@ def topaddedversionstring(major, minor, rev):
100100

101101

102102
for line in fileinput.input(readmefile, inplace=1, backup='.bak'):
103-
line = re.sub('https://github.com/fastfloat/fast_float/releases/download/v(\d+\.\d+\.\d+)/fast_float.h','https://github.com/fastfloat/fast_float/releases/download/v'+newmajorversionstring+'.'+mewminorversionstring+'.'+newrevversionstring+'/fast_float.h', line.rstrip())
103+
line = re.sub(r'https://github.com/fastfloat/fast_float/releases/download/v(\d+\.\d+\.\d+)/fast_float.h','https://github.com/fastfloat/fast_float/releases/download/v'+newmajorversionstring+'.'+mewminorversionstring+'.'+newrevversionstring+'/fast_float.h', line.rstrip())
104104
print(line)
105105

106106
print("modified "+readmefile+", a backup was made")

0 commit comments

Comments
 (0)