|
5 | 5 | # Create release candidate
|
6 | 6 | # ========================
|
7 | 7 | #
|
| 8 | +# update cppcheck used in premium addon CI |
| 9 | +# |
8 | 10 | # check every isPremiumEnabled call:
|
9 | 11 | # - every id should be in --errorlist
|
10 | 12 | # git grep 'isPremiumEnabled[(]"' | sed 's/.*isPremiumEnabled[(]"//' | sed 's/".*//' | sort | uniq > ids1.txt
|
|
20 | 22 | #
|
21 | 23 | # self check, fix critical issues:
|
22 | 24 | # 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 |
24 | 26 | #
|
25 | 27 | # Generate lib/checkers.cpp (TODO the premium checkers should not be statically coded)
|
26 | 28 | # cd ~/cppchecksolutions/cppcheck && python3 tools/get_checkers.py > lib/checkers.cpp
|
|
47 | 49 | #
|
48 | 50 | # Update version numbers in:
|
49 | 51 | # 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. |
51 | 53 | # sed -i -r "s/CPPCHECK_MINOR_VERSION [0-9]+/CPPCHECK_MINOR_VERSION 13/" lib/version.h
|
52 | 54 | # sed -i -r "s/2[.][0-9]+([.]99)*( dev)*/2.13.0/" win_installer/productInfo.wxi
|
53 | 55 | # sed -i -r "s/subtitle: Version 2\.[0-9]+.*/subtitle: Version 2.13/" man/*.md
|
|
87 | 89 | # Update download link on index.php main page
|
88 | 90 | #
|
89 | 91 | # Write Changelog
|
90 |
| -# git log 2.11..2.12 > Changelog |
91 |
| -# <edit> |
| 92 | +# git log 2.11.0..2.12.0 > Changelog |
92 | 93 | #
|
93 | 94 | # Trac:
|
94 | 95 | # 1. Create ticket "2.12 safety cosmetic changes"
|
|
110 | 111 | #
|
111 | 112 | # Backup:
|
112 | 113 | # * trac: cd /var && nice tar -cJf trac.tar.xz trac-cppcheck
|
| 114 | +# * daca: cd /var && nice tar -cJf daca.tar.xz daca@home |
113 | 115 | # * git: git checkout -f && git checkout main && git pull && tar -cJf git.tar.xz .git
|
114 | 116 | # * 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 |
116 | 118 |
|
117 | 119 | # Folder/tag to use
|
118 | 120 | folder=$1
|
|
0 commit comments