Skip to content

Commit 36b8e54

Browse files
authored
createrelease: update sed commands for writing cppcheck version (#5789)
1 parent d81c696 commit 36b8e54

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

createrelease

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@
3737
# - empty the releasenotes.txt in main branch
3838
#
3939
# Update version numbers in:
40-
# sed -i -r "s/version 2[.][0-9]+([.]99)*/version 2.9/" cli/main.cpp
41-
# sed -i -r "s|2[.][0-9]+([.]99)*|2.9.0|" cmake/versions.cmake # version must have 3 parts.
42-
# sed -i -r "s/MINOR [0-9]+/MINOR 9/" lib/version.h
43-
# sed -i -r "s/2[.][0-9]+([.]99)*/2.9/" win_installer/productInfo.wxi
44-
# sed -i -r "s/subtitle: Version 2\.[0-9]+/subtitle: Version 2.9/" man/*.md
40+
# sed -i -r "s/version 2[.][0-9]+([.]99)*/version 2.13.0/" cli/main.cpp
41+
# sed -i -r "s|2[.][0-9]+([.]99)*|2.13.0|" cmake/versions.cmake # version must have 3 parts.
42+
# sed -i -r "s/CPPCHECK_MINOR_VERSION [0-9]+/CPPCHECK_MINOR_VERSION 13/" lib/version.h
43+
# sed -i -r "s/2[.][0-9]+([.]99)*( dev)*/2.13.0/" win_installer/productInfo.wxi
44+
# sed -i -r "s/subtitle: Version 2\.[0-9]+.*/subtitle: Version 2.13/" man/*.md
4545
# Ensure that "-rc1" is added in productInfo.wxi and lib/version.h
4646
# Verify:
4747
# grep '\.99' */*.[ch]* && grep '[0-9][0-9] dev' */*.[ch]*

0 commit comments

Comments
 (0)