2.1: Set version

This commit is contained in:
Daniel Marjamäki 2020-06-13 17:04:26 +02:00
parent 37245a8179
commit 026bbac975
7 changed files with 13 additions and 13 deletions

View File

@ -20,7 +20,7 @@
/** /**
* *
* @mainpage Cppcheck * @mainpage Cppcheck
* @version 2.0 * @version 2.1
* *
* @section overview_sec Overview * @section overview_sec Overview
* Cppcheck is a simple tool for static analysis of C/C++ code. * Cppcheck is a simple tool for static analysis of C/C++ code.

View File

@ -1,5 +1,5 @@
# Version for libraries CPP # Version for libraries CPP
SET(VERSION "2.0.99") SET(VERSION "2.1")
STRING(REGEX MATCHALL "[0-9]" VERSION_PARTS "${VERSION}") STRING(REGEX MATCHALL "[0-9]" VERSION_PARTS "${VERSION}")
LIST(GET VERSION_PARTS 0 VERSION_MAJOR) LIST(GET VERSION_PARTS 0 VERSION_MAJOR)
LIST(GET VERSION_PARTS 1 VERSION_MINOR) LIST(GET VERSION_PARTS 1 VERSION_MINOR)

View File

@ -20,12 +20,12 @@
# git log --format='%aN' 1.81..HEAD | sort -u > AUTHORS2 && diff -y AUTHORS AUTHORS2 | less # git log --format='%aN' 1.81..HEAD | sort -u > AUTHORS2 && diff -y AUTHORS AUTHORS2 | less
# #
# Update version numbers in: # Update version numbers in:
# sed -i "s/1.[0-9][0-9].99/1.89/" cli/main.cpp # sed -i "s/[12].[0-9][0-9]*.99/2.1/" cli/main.cpp
# sed -i "s/1.[0-9][0-9].99/1.89/" cmake/versions.cmake # sed -i "s/[12].[0-9][0-9]*/2.1/" cmake/versions.cmake
# sed -i "s/MINOR [0-9][0-9]/MINOR 89/" lib/version.h # sed -i "s/MINOR [0-9][0-9]*/MINOR 1/" lib/version.h
# sed -i "s/1.[0-9][0-9] dev/1.89/" win_installer/productInfo.wxi # sed -i "s/[12].[0-9][0-9]* dev/2.1/" win_installer/productInfo.wxi
# sed -i "s/1.[0-9][0-9].99/1.89/" win_installer/productInfo.wxi # sed -i "s/[12].[0-9][0-9]*/2.1/" win_installer/productInfo.wxi
# sed -i "s/Version 1.[0-9][0-9]/Version 1.89/" */*.md # sed -i "s/Version [12].[0-9]+/Version 2.1/" */*.md
# Verify: # Verify:
# grep '\.99' */*.[ch]* && grep '[0-9][0-9] dev' */*.[ch]* # grep '\.99' */*.[ch]* && grep '[0-9][0-9] dev' */*.[ch]*
# git commit -a -m "1.43: Set versions" # git commit -a -m "1.43: Set versions"

View File

@ -2,7 +2,7 @@
// After a release the DEVMINOR is incremented. MAJOR=x MINOR=y, DEVMINOR=y+1 // After a release the DEVMINOR is incremented. MAJOR=x MINOR=y, DEVMINOR=y+1
#define CPPCHECK_MAJOR 2 #define CPPCHECK_MAJOR 2
#define CPPCHECK_MINOR 0 #define CPPCHECK_MINOR 1
#define CPPCHECK_DEVMINOR 1 #define CPPCHECK_DEVMINOR 1
#define STRINGIFY(x) STRING(x) #define STRINGIFY(x) STRING(x)

View File

@ -1,6 +1,6 @@
--- ---
title: Cppcheck manual title: Cppcheck manual
subtitle: Version 2.0 subtitle: Version 2.1
author: Cppcheck team author: Cppcheck team
lang: en lang: en
documentclass: report documentclass: report

View File

@ -1,6 +1,6 @@
--- ---
title: Cppcheck .cfg format title: Cppcheck .cfg format
subtitle: Version 2.0 subtitle: Version 2.1
author: Cppcheck team author: Cppcheck team
lang: en lang: en
documentclass: report documentclass: report

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Include> <Include>
<?define ProductName = "Cppcheck $(var.Platform) 2.0" ?> <?define ProductName = "Cppcheck $(var.Platform) 2.1" ?>
<?define ProductNameShort = "Cppcheck" ?> <?define ProductNameShort = "Cppcheck" ?>
<?define ProductVersion = "2.0" ?> <?define ProductVersion = "2.1" ?>
<?define ProductManufacturer = "The Cppcheck team" ?> <?define ProductManufacturer = "The Cppcheck team" ?>
<?define ProductDescription = "Cppcheck is a tool for static analysis of C/C++ code" ?> <?define ProductDescription = "Cppcheck is a tool for static analysis of C/C++ code" ?>