Skip to content

Commit 6fc2d80

Browse files
committed
2.12.0-rc1: set version
1 parent 48a7a43 commit 6fc2d80

8 files changed

Lines changed: 13 additions & 13 deletions

File tree

cli/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
/**
2121
*
2222
* @mainpage Cppcheck
23-
* @version 2.11.99
23+
* @version 2.12
2424
*
2525
* @section overview_sec Overview
2626
* Cppcheck is a simple tool for static analysis of C/C++ code.

cmake/versions.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Version for libraries CPP
22
# Version string must have 3 "parts". https://sourceforge.net/p/cppcheck/discussion/development/thread/e57efb2b62/
3-
SET(VERSION "2.11.99")
3+
SET(VERSION "2.12.0")
44
STRING(REGEX MATCHALL "[0-9]+" VERSION_PARTS "${VERSION}")
55
LIST(GET VERSION_PARTS 0 VERSION_MAJOR)
66
LIST(GET VERSION_PARTS 1 VERSION_MINOR)

createrelease

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030
# git checkout -b 2.8.x ; git push -u origin 2.8.x
3131
#
3232
# Update version numbers in:
33-
# sed -i -r "s/version 2[.][0-9]+([.]99)*/version 2.9/" cli/main.cpp
34-
# sed -i -r "s|2[.][0-9]+([.]99)*|2.9.0|" cmake/versions.cmake # version must have 3 parts.
35-
# sed -i -r "s/MINOR [0-9]+/MINOR 9/" lib/version.h
36-
# sed -i -r "s/2[.][0-9]+([.]99)*/2.9/" win_installer/productInfo.wxi
37-
# sed -i -r "s/subtitle: Version 2\.[0-9]+/subtitle: Version 2.9/" man/*.md
33+
# sed -i -r "s/version 2[.][0-9]+([.]99)*/version 2.12/" cli/main.cpp
34+
# sed -i -r "s|2[.][0-9]+([.]99)*|2.12.0|" cmake/versions.cmake # version must have 3 parts.
35+
# sed -i -r "s/MINOR [0-9]+/MINOR_VERSION 12/" lib/version.h
36+
# sed -i -r "s/2[.][0-9]+([.]99)*/2.12-rc1/" win_installer/productInfo.wxi
37+
# sed -i -r "s/subtitle: Version 2\.[0-9]+.*/subtitle: Version 2.12/" man/*.md
3838
# Ensure that "-rc1" is added in productInfo.wxi and lib/version.h
3939
# Verify:
4040
# grep '\.99' */*.[ch]* && grep '[0-9][0-9] dev' */*.[ch]*

lib/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// After a release the DEVMINOR is incremented. MAJOR=x MINOR=y, DEVMINOR=y+1
33

44
#define CPPCHECK_MAJOR_VERSION 2
5-
#define CPPCHECK_MINOR_VERSION 11
5+
#define CPPCHECK_MINOR_VERSION 12
66
#define CPPCHECK_DEVMINOR_VERSION 12
77
#define CPPCHECK_FIX_VERSION 0
88

man/manual.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Cppcheck manual
3-
subtitle: Version 2.11.99
3+
subtitle: Version 2.12
44
author: Cppcheck team
55
lang: en
66
documentclass: report

man/reference-cfg-format.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Cppcheck .cfg format
3-
subtitle: Version 2.11.99
3+
subtitle: Version 2.12
44
author: Cppcheck team
55
lang: en
66
documentclass: report

man/writing-addons.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Writing addons
3-
subtitle: Version 2.11.99
3+
subtitle: Version 2.12
44
author: Cppcheck team
55
lang: en
66
documentclass: report

win_installer/productInfo.wxi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Include>
3-
<?define ProductName = "Cppcheck $(var.Platform) 2.12 dev" ?>
3+
<?define ProductName = "Cppcheck $(var.Platform) 2.12-rc1" ?>
44
<?define ProductNameShort = "Cppcheck" ?>
5-
<?define ProductVersion = "2.11.99" ?>
5+
<?define ProductVersion = "2.12-rc1" ?>
66

77
<?define ProductManufacturer = "The Cppcheck team" ?>
88
<?define ProductDescription = "Cppcheck is a tool for static analysis of C/C++ code" ?>

0 commit comments

Comments
 (0)