Skip to content

Commit 56ff2cc

Browse files
authored
createrelease: updates after 2.15.0 release (danmar#6758)
1 parent 698e981 commit 56ff2cc

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

createrelease

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
# Create release candidate
66
# ========================
77
#
8+
# update cppcheck used in premium addon CI
9+
#
810
# check every isPremiumEnabled call:
911
# - every id should be in --errorlist
1012
# git grep 'isPremiumEnabled[(]"' | sed 's/.*isPremiumEnabled[(]"//' | sed 's/".*//' | sort | uniq > ids1.txt
@@ -20,7 +22,7 @@
2022
#
2123
# self check, fix critical issues:
2224
# make clean && make CXXFLAGS=-O2 MATCHCOMPILER=yes -j4
23-
# ./cppcheck -D__CPPCHECK__ -D__GNUC__ -DCHECK_INTERNAL -DHAVE_RULES --std=c++11 --library=cppcheck-lib --library=qt --enable=style --inconclusive --inline-suppr --suppress=bitwiseOnBoolean --suppress=shadowFunction --suppress=useStlAlgorithm --suppress=*:externals/picojson.h --suppress=functionConst --suppress=functionStatic --xml cli gui/*.cpp lib 2> selfcheck.xml
25+
# ./cppcheck -D__CPPCHECK__ -D__GNUC__ -DCHECK_INTERNAL -DHAVE_RULES --std=c++11 --library=cppcheck-lib --library=qt --enable=style --inconclusive --inline-suppr --suppress=bitwiseOnBoolean --suppress=shadowFunction --suppress=useStlAlgorithm --suppress=*:externals/picojson.h --suppress=functionConst --suppress=functionStatic --suppress=normalCheckLevelMaxBranches --xml cli gui/*.cpp lib 2> selfcheck.xml
2426
#
2527
# Generate lib/checkers.cpp (TODO the premium checkers should not be statically coded)
2628
# cd ~/cppchecksolutions/cppcheck && python3 tools/get_checkers.py > lib/checkers.cpp
@@ -47,7 +49,7 @@
4749
#
4850
# Update version numbers in:
4951
# sed -i -r "s/version 2[.][0-9]+([.]99)*/version 2.13.0/" cli/main.cpp
50-
# sed -i -r "s|2[.][0-9]+([.]99)*|2.13.0|" cmake/versions.cmake # version must have 3 parts.
52+
# sed -i -r "s|VERSION 2[.][0-9]+[.]99|VERSION 2.13.0|" CMakeLists.txt # version must have 3 parts.
5153
# sed -i -r "s/CPPCHECK_MINOR_VERSION [0-9]+/CPPCHECK_MINOR_VERSION 13/" lib/version.h
5254
# sed -i -r "s/2[.][0-9]+([.]99)*( dev)*/2.13.0/" win_installer/productInfo.wxi
5355
# sed -i -r "s/subtitle: Version 2\.[0-9]+.*/subtitle: Version 2.13/" man/*.md
@@ -87,8 +89,7 @@
8789
# Update download link on index.php main page
8890
#
8991
# Write Changelog
90-
# git log 2.11..2.12 > Changelog
91-
# <edit>
92+
# git log 2.11.0..2.12.0 > Changelog
9293
#
9394
# Trac:
9495
# 1. Create ticket "2.12 safety cosmetic changes"
@@ -110,9 +111,10 @@
110111
#
111112
# Backup:
112113
# * trac: cd /var && nice tar -cJf trac.tar.xz trac-cppcheck
114+
# * daca: cd /var && nice tar -cJf daca.tar.xz daca@home
113115
# * git: git checkout -f && git checkout main && git pull && tar -cJf git.tar.xz .git
114116
# * Changelog
115-
# * ci status: screenshot(s) showing that all tests pass for tagged commit
117+
# * mkdir out && python3 ~/cppchecksolutions/getWorkflowAndIssueLogs.py -r danmar/cppcheck -t 2.15.0 -p out
116118

117119
# Folder/tag to use
118120
folder=$1

0 commit comments

Comments
 (0)