File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020/* *
2121 *
2222 * @mainpage Cppcheck
23- * @version 2.0
23+ * @version 2.1
2424 *
2525 * @section overview_sec Overview
2626 * Cppcheck is a simple tool for static analysis of C/C++ code.
Original file line number Diff line number Diff line change 11# Version for libraries CPP
2- SET (VERSION "2.0.99 " )
2+ SET (VERSION "2.1 " )
33STRING (REGEX MATCHALL "[0-9]" VERSION_PARTS "${VERSION} " )
44LIST (GET VERSION_PARTS 0 VERSION_MAJOR)
55LIST (GET VERSION_PARTS 1 VERSION_MINOR)
Original file line number Diff line number Diff line change 2020# git log --format='%aN' 1.81..HEAD | sort -u > AUTHORS2 && diff -y AUTHORS AUTHORS2 | less
2121#
2222# Update version numbers in:
23- # sed -i "s/1 .[0-9][0-9].99/1.89 /" cli/main.cpp
24- # sed -i "s/1 .[0-9][0-9].99/1.89 /" cmake/versions.cmake
25- # sed -i "s/MINOR [0-9][0-9]/MINOR 89 /" lib/version.h
26- # sed -i "s/1 .[0-9][0-9] dev/1.89 /" win_installer/productInfo.wxi
27- # sed -i "s/1 .[0-9][0-9].99/1.89 /" win_installer/productInfo.wxi
28- # sed -i "s/Version 1.[0-9] [0-9]/Version 1.89 /" */*.md
23+ # sed -i "s/[12] .[0-9][0-9]* .99/2.1 /" cli/main.cpp
24+ # sed -i "s/[12] .[0-9][0-9]*/2.1 /" cmake/versions.cmake
25+ # sed -i "s/MINOR [0-9][0-9]* /MINOR 1 /" lib/version.h
26+ # sed -i "s/[12] .[0-9][0-9]* dev/2.1 /" win_installer/productInfo.wxi
27+ # sed -i "s/[12] .[0-9][0-9]*/2.1 /" win_installer/productInfo.wxi
28+ # sed -i "s/Version [12]. [0-9]+ /Version 2.1 /" */*.md
2929# Verify:
3030# grep '\.99' */*.[ch]* && grep '[0-9][0-9] dev' */*.[ch]*
3131# git commit -a -m "1.43: Set versions"
Original file line number Diff line number Diff line change 22// After a release the DEVMINOR is incremented. MAJOR=x MINOR=y, DEVMINOR=y+1
33
44#define CPPCHECK_MAJOR 2
5- #define CPPCHECK_MINOR 0
5+ #define CPPCHECK_MINOR 1
66#define CPPCHECK_DEVMINOR 1
77
88#define STRINGIFY (x ) STRING(x)
Original file line number Diff line number Diff line change 11---
22title : Cppcheck manual
3- subtitle : Version 2.0
3+ subtitle : Version 2.1
44author : Cppcheck team
55lang : en
66documentclass : report
Original file line number Diff line number Diff line change 11---
22title : Cppcheck .cfg format
3- subtitle : Version 2.0
3+ subtitle : Version 2.1
44author : Cppcheck team
55lang : en
66documentclass : report
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<Include >
3- <?define ProductName = " Cppcheck $(var.Platform) 2.0 " ?>
3+ <?define ProductName = " Cppcheck $(var.Platform) 2.1 " ?>
44 <?define ProductNameShort = " Cppcheck" ?>
5- <?define ProductVersion = " 2.0 " ?>
5+ <?define ProductVersion = " 2.1 " ?>
66
77 <?define ProductManufacturer = " The Cppcheck team" ?>
88 <?define ProductDescription = " Cppcheck is a tool for static analysis of C/C++ code" ?>
You can’t perform that action at this time.
0 commit comments