Skip to content

Commit

Permalink
createrelease: updates after 2.15.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
danmar committed Aug 31, 2024
1 parent cd67030 commit 02d7b4e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions createrelease
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
# Create release candidate
# ========================
#
# update cppcheck used in premium addon CI
#
# check every isPremiumEnabled call:
# - every id should be in --errorlist
# git grep 'isPremiumEnabled[(]"' | sed 's/.*isPremiumEnabled[(]"//' | sed 's/".*//' | sort | uniq > ids1.txt
Expand All @@ -20,7 +22,7 @@
#
# self check, fix critical issues:
# make clean && make CXXFLAGS=-O2 MATCHCOMPILER=yes -j4
# ./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
# ./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
#
# Generate lib/checkers.cpp (TODO the premium checkers should not be statically coded)
# cd ~/cppchecksolutions/cppcheck && python3 tools/get_checkers.py > lib/checkers.cpp
Expand All @@ -47,7 +49,7 @@
#
# Update version numbers in:
# sed -i -r "s/version 2[.][0-9]+([.]99)*/version 2.13.0/" cli/main.cpp
# sed -i -r "s|2[.][0-9]+([.]99)*|2.13.0|" cmake/versions.cmake # version must have 3 parts.
# sed -i -r "s|VERSION 2[.][0-9]+[.]99|VERSION 2.13.0|" CMakeLists.txt # version must have 3 parts.
# sed -i -r "s/CPPCHECK_MINOR_VERSION [0-9]+/CPPCHECK_MINOR_VERSION 13/" lib/version.h
# sed -i -r "s/2[.][0-9]+([.]99)*( dev)*/2.13.0/" win_installer/productInfo.wxi
# sed -i -r "s/subtitle: Version 2\.[0-9]+.*/subtitle: Version 2.13/" man/*.md
Expand Down Expand Up @@ -87,8 +89,7 @@
# Update download link on index.php main page
#
# Write Changelog
# git log 2.11..2.12 > Changelog
# <edit>
# git log 2.11.0..2.12.0 > Changelog
#
# Trac:
# 1. Create ticket "2.12 safety cosmetic changes"
Expand All @@ -110,9 +111,10 @@
#
# Backup:
# * trac: cd /var && nice tar -cJf trac.tar.xz trac-cppcheck
# * daca: cd /var && nice tar -cJf daca.tar.xz daca@home
# * git: git checkout -f && git checkout main && git pull && tar -cJf git.tar.xz .git
# * Changelog
# * ci status: screenshot(s) showing that all tests pass for tagged commit
# * mkdir out && python3 ~/cppchecksolutions/getWorkflowAndIssueLogs.py -r danmar/cppcheck -t 2.15.0 -p out

# Folder/tag to use
folder=$1
Expand Down

0 comments on commit 02d7b4e

Please sign in to comment.