fixed Cppcheck version (#4292)
This commit is contained in:
parent
5e537a666f
commit
f644938eb0
|
@ -20,7 +20,7 @@
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @mainpage Cppcheck
|
* @mainpage Cppcheck
|
||||||
* @version 2.7
|
* @version 2.9.99
|
||||||
*
|
*
|
||||||
* @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.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Version for libraries CPP
|
# Version for libraries CPP
|
||||||
SET(VERSION "2.7")
|
SET(VERSION "2.9.99")
|
||||||
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)
|
||||||
|
|
|
@ -17,38 +17,38 @@
|
||||||
# lupdate gui.pro
|
# lupdate gui.pro
|
||||||
#
|
#
|
||||||
# Update copyright year
|
# Update copyright year
|
||||||
# git diff 2.6 -- */*.cpp */*.h | grep '^diff --git a/' | sed 's|.* b/||' | xargs sed -i 's/Copyright (C) 2007-20[12]./Copyright (C) 2007-2022/'
|
# git diff 2.8 -- */*.cpp */*.h | grep '^diff --git a/' | sed 's|.* b/||' | xargs sed -i 's/Copyright (C) 2007-20[12]./Copyright (C) 2007-2022/'
|
||||||
# git diff | grep '^diff --git a/'
|
# git diff | grep '^diff --git a/'
|
||||||
#
|
#
|
||||||
# Make sure "cppcheck --errorlist" works:
|
# Make sure "cppcheck --errorlist" works:
|
||||||
# make clean && make -j4 && ./cppcheck --errorlist > errlist.xml && xmllint --noout errlist.xml
|
# make clean && make -j4 && ./cppcheck --errorlist > errlist.xml && xmllint --noout errlist.xml
|
||||||
#
|
#
|
||||||
# Update AUTHORS using output from:
|
# Update AUTHORS using output from:
|
||||||
# git log --format='%aN' 1.81..HEAD | sort -u > AUTHORS2 && diff -y AUTHORS AUTHORS2 | less
|
# git log --format='%aN' 2.7..HEAD | sort -u > AUTHORS2 && diff -y AUTHORS AUTHORS2 | less
|
||||||
#
|
#
|
||||||
# Create 2.6.x branch
|
# Create 2.8.x branch
|
||||||
# git checkout -b 2.6.x ; git push -u origin 2.6.x
|
# git checkout -b 2.8.x ; git push -u origin 2.8.x
|
||||||
#
|
#
|
||||||
# Update version numbers in:
|
# Update version numbers in:
|
||||||
# sed -i -r "s/version 2[.][0-9]+([.]99)*/version 2.7/" cli/main.cpp
|
# sed -i -r "s/version 2[.][0-9]+([.]99)*/version 2.9/" cli/main.cpp
|
||||||
# sed -i -r "s|2[.][0-9]+([.]99)*|2.7|" cmake/versions.cmake
|
# sed -i -r "s|2[.][0-9]+([.]99)*|2.9|" cmake/versions.cmake
|
||||||
# sed -i -r "s/MINOR [0-9]+/MINOR 7/" lib/version.h
|
# sed -i -r "s/MINOR [0-9]+/MINOR 9/" lib/version.h
|
||||||
# sed -i -r "s/2[.][0-9]+([.]99)*/2.7/" win_installer/productInfo.wxi
|
# sed -i -r "s/2[.][0-9]+([.]99)*/2.9/" win_installer/productInfo.wxi
|
||||||
# sed -i -r "s/subtitle: Version 2\.[0-9]+/subtitle: Version 2.7/" man/*.md
|
# sed -i -r "s/subtitle: Version 2\.[0-9]+/subtitle: Version 2.9/" man/*.md
|
||||||
# Ensure that "-rc1" is added in productInfo.wxi and lib/version.h
|
# Ensure that "-rc1" is added in productInfo.wxi and lib/version.h
|
||||||
# Verify:
|
# Verify:
|
||||||
# grep '\.99' */*.[ch]* && grep '[0-9][0-9] dev' */*.[ch]*
|
# grep '\.99' */*.[ch]* && grep '[0-9][0-9] dev' */*.[ch]*
|
||||||
# egrep "2\.[0-9]+" */*.h */*.cpp man/*.md | grep -v "test/test" | less
|
# egrep "2\.[0-9]+" */*.h */*.cpp man/*.md | grep -v "test/test" | less
|
||||||
# git commit -a -m "1.43: Set versions"
|
# git commit -a -m "2.8: Set versions"
|
||||||
#
|
#
|
||||||
# Build and test the windows installer
|
# Build and test the windows installer
|
||||||
#
|
#
|
||||||
# Update the Makefile:
|
# Update the Makefile:
|
||||||
# make dmake && ./dmake --release
|
# make dmake && ./dmake --release
|
||||||
# git commit -a -m "1.43: Updated Makefile"
|
# git commit -a -m "2.8: Updated Makefile"
|
||||||
#
|
#
|
||||||
# Tag:
|
# Tag:
|
||||||
# git tag 2.6-rc1
|
# git tag 2.8-rc1
|
||||||
# git push --tags
|
# git push --tags
|
||||||
#
|
#
|
||||||
# Release
|
# Release
|
||||||
|
@ -58,8 +58,8 @@
|
||||||
#
|
#
|
||||||
# Remove "-rc1" from versions. Test: git grep "\-rc[0-9]"
|
# Remove "-rc1" from versions. Test: git grep "\-rc[0-9]"
|
||||||
#
|
#
|
||||||
# git tag 2.6 ; git push --tags
|
# git tag 2.8 ; git push --tags
|
||||||
# ./createrelease 2.6
|
# ./createrelease 2.8
|
||||||
#
|
#
|
||||||
# Create a release folder on sourceforge:
|
# Create a release folder on sourceforge:
|
||||||
# https://sourceforge.net/projects/cppcheck/files/cppcheck/
|
# https://sourceforge.net/projects/cppcheck/files/cppcheck/
|
||||||
|
@ -75,7 +75,7 @@
|
||||||
#
|
#
|
||||||
# compile new democlient:
|
# compile new democlient:
|
||||||
# ssh -t danielmarjamaki,cppcheck@shell.sourceforge.net create
|
# ssh -t danielmarjamaki,cppcheck@shell.sourceforge.net create
|
||||||
# ./build-cppcheck.sh 1.43
|
# ./build-cppcheck.sh 2.8
|
||||||
#
|
#
|
||||||
# run daca with new release
|
# run daca with new release
|
||||||
# 1. edit tools/donate-cpu-server.py. Update OLD_VERSION and VERSION
|
# 1. edit tools/donate-cpu-server.py. Update OLD_VERSION and VERSION
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
// 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 7
|
#define CPPCHECK_MINOR 8
|
||||||
#define CPPCHECK_DEVMINOR 7
|
#define CPPCHECK_DEVMINOR 9
|
||||||
|
|
||||||
#define STRINGIFY(x) STRING(x)
|
#define STRINGIFY(x) STRING(x)
|
||||||
#define STRING(VER) #VER
|
#define STRING(VER) #VER
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Cppcheck manual
|
title: Cppcheck manual
|
||||||
subtitle: Version 2.7
|
subtitle: Version 2.9
|
||||||
author: Cppcheck team
|
author: Cppcheck team
|
||||||
lang: en
|
lang: en
|
||||||
documentclass: report
|
documentclass: report
|
||||||
|
|
|
@ -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.8" ?>
|
<?define ProductName = "Cppcheck $(var.Platform) 2.9 dev" ?>
|
||||||
<?define ProductNameShort = "Cppcheck" ?>
|
<?define ProductNameShort = "Cppcheck" ?>
|
||||||
<?define ProductVersion = "2.8" ?>
|
<?define ProductVersion = "2.9.99" ?>
|
||||||
|
|
||||||
<?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" ?>
|
||||||
|
|
Loading…
Reference in New Issue