Skip to content

Commit

Permalink
Set main version to 2.13.99 (#5818)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Jan 4, 2024
1 parent 87540e6 commit efa8a08
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion cli/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/**
*
* @mainpage Cppcheck
* @version 2.12.99
* @version 2.13.99
*
* @section overview_sec Overview
* Cppcheck is a simple tool for static analysis of C/C++ code.
Expand Down
2 changes: 1 addition & 1 deletion cmake/versions.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Version for libraries CPP
# Version string must have 3 "parts". https://sourceforge.net/p/cppcheck/discussion/development/thread/e57efb2b62/
SET(VERSION "2.12.99")
SET(VERSION "2.13.99")
STRING(REGEX MATCHALL "[0-9]+" VERSION_PARTS "${VERSION}")
LIST(GET VERSION_PARTS 0 VERSION_MAJOR)
LIST(GET VERSION_PARTS 1 VERSION_MINOR)
Expand Down
12 changes: 6 additions & 6 deletions lib/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
#define versionH

#define CPPCHECK_MAJOR_VERSION 2
#define CPPCHECK_MINOR_VERSION 12
#define CPPCHECK_DEVMINOR_VERSION 13
#define CPPCHECK_FIX_VERSION 0
#define CPPCHECK_MINOR_VERSION 13
#define CPPCHECK_DEVMINOR_VERSION 14
#define CPPCHECK_BUGFIX_VERSION 99

#define STRINGIFY(x) STRING(x)
#define STRING(VER) #VER
#if CPPCHECK_MINOR_VERSION == CPPCHECK_DEVMINOR_VERSION
#define CPPCHECK_VERSION_STRING STRINGIFY(CPPCHECK_MAJOR_VERSION) "." STRINGIFY(CPPCHECK_MINOR_VERSION) "." STRINGIFY(CPPCHECK_FIX_VERSION)
#define CPPCHECK_VERSION CPPCHECK_MAJOR_VERSION,CPPCHECK_MINOR_VERSION,CPPCHECK_FIX_VERSION,0
#if CPPCHECK_BUGFIX_VERSION < 99
#define CPPCHECK_VERSION_STRING STRINGIFY(CPPCHECK_MAJOR_VERSION) "." STRINGIFY(CPPCHECK_MINOR_VERSION) "." STRINGIFY(CPPCHECK_BUGFIX_VERSION)
#define CPPCHECK_VERSION CPPCHECK_MAJOR_VERSION,CPPCHECK_MINOR_VERSION,CPPCHECK_BUGFIX_VERSION,0
#else
#define CPPCHECK_VERSION_STRING STRINGIFY(CPPCHECK_MAJOR_VERSION) "." STRINGIFY(CPPCHECK_DEVMINOR_VERSION) " dev"
#define CPPCHECK_VERSION CPPCHECK_MAJOR_VERSION,CPPCHECK_MINOR_VERSION,99,0
Expand Down
2 changes: 1 addition & 1 deletion man/manual.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Cppcheck manual
subtitle: Version 2.12.99
subtitle: Version 2.13.99
author: Cppcheck team
lang: en
documentclass: report
Expand Down
2 changes: 1 addition & 1 deletion man/reference-cfg-format.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Cppcheck .cfg format
subtitle: Version 2.12.99
subtitle: Version 2.13.99
author: Cppcheck team
lang: en
documentclass: report
Expand Down
2 changes: 1 addition & 1 deletion man/writing-addons.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Writing addons
subtitle: Version 2.12.99
subtitle: Version 2.13.99
author: Cppcheck team
lang: en
documentclass: report
Expand Down
4 changes: 2 additions & 2 deletions win_installer/productInfo.wxi
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Include>
<?define ProductName = "Cppcheck $(var.Platform) 2.13 dev" ?>
<?define ProductName = "Cppcheck $(var.Platform) 2.14 dev" ?>
<?define ProductNameShort = "Cppcheck" ?>
<?define ProductVersion = "2.12.99" ?>
<?define ProductVersion = "2.13.99" ?>

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

0 comments on commit efa8a08

Please sign in to comment.