2.7: Set versions
This commit is contained in:
parent
229f9d31e8
commit
631a9eefd2
|
@ -20,7 +20,7 @@
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @mainpage Cppcheck
|
* @mainpage Cppcheck
|
||||||
* @version 2.6.99
|
* @version 2.7
|
||||||
*
|
*
|
||||||
* @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.6.99")
|
SET(VERSION "2.7")
|
||||||
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)
|
||||||
|
|
|
@ -33,11 +33,11 @@
|
||||||
# git checkout -b 2.6.x ; git push -u origin 2.6.x
|
# git checkout -b 2.6.x ; git push -u origin 2.6.x
|
||||||
#
|
#
|
||||||
# Update version numbers in:
|
# Update version numbers in:
|
||||||
# sed -i "s/2.[0-9][0-9]*.99/2.5/" cli/main.cpp
|
# sed -i -r "s/version 2[.][0-9]+([.]99)*/2.7/" cli/main.cpp
|
||||||
# sed -i "s/2.[0-9][0-9]*/2.5/" cmake/versions.cmake
|
# sed -i -r "s|2[.][0-9]+([.]99)*|2.7|" cmake/versions.cmake
|
||||||
# sed -i "s/MINOR [0-9]+/MINOR 5/" lib/version.h
|
# sed -i -r "s/MINOR [0-9]+/MINOR 7/" lib/version.h
|
||||||
# sed -i "s/2\.[0-9]+/2.5/" win_installer/productInfo.wxi
|
# sed -i -r "s/2[.][0-9]+([.]99)*/2.7/" win_installer/productInfo.wxi
|
||||||
# sed -i "s/subtitle: Version 2\.[0-9]+/subtitle: Version 2.5/" man/*.md
|
# sed -i -r "s/subtitle: Version 2\.[0-9]+/subtitle: Version 2.7/" 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]*
|
||||||
|
|
|
@ -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 6
|
#define CPPCHECK_MINOR 7
|
||||||
#define CPPCHECK_DEVMINOR 7
|
#define CPPCHECK_DEVMINOR 7
|
||||||
|
|
||||||
#define STRINGIFY(x) STRING(x)
|
#define STRINGIFY(x) STRING(x)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Cppcheck manual
|
title: Cppcheck manual
|
||||||
subtitle: Version 2.6
|
subtitle: Version 2.7
|
||||||
author: Cppcheck team
|
author: Cppcheck team
|
||||||
lang: en
|
lang: en
|
||||||
documentclass: report
|
documentclass: report
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Cppcheck .cfg format
|
title: Cppcheck .cfg format
|
||||||
subtitle: Version 2.6
|
subtitle: Version 2.7
|
||||||
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.6 dev" ?>
|
<?define ProductName = "Cppcheck $(var.Platform) 2.7 dev" ?>
|
||||||
<?define ProductNameShort = "Cppcheck" ?>
|
<?define ProductNameShort = "Cppcheck" ?>
|
||||||
<?define ProductVersion = "2.6.99" ?>
|
<?define ProductVersion = "2.7" ?>
|
||||||
|
|
||||||
<?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