Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions createrelease
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,14 @@
# Create release candidate
# ========================
#
# Review trac roadmap, are tickets closed properly?
# Only tickets that should be retargeted should be open.
#
# update cppcheck used in premium addon CI
# create jira issue "CI: update cppcheck binary"
# cd ~/cppchecksolutions/addon/tools && python3 ci-update-cppcheck.py
#
# check every isPremiumEnabled call:
# check every isPremiumEnabled call: TODO write helper script
# - every id should be in --errorlist
# git grep 'isPremiumEnabled[(]"' | sed 's/.*isPremiumEnabled[(]"//' | sed 's/".*//' | sort | uniq > ids1.txt
# ./cppcheck --errorlist | grep ' id="' | sed 's/.* id="//' | sed 's/".*//' | sort | uniq > ids2.txt
Expand All @@ -27,7 +32,7 @@
# Generate lib/checkers.cpp (TODO the premium checkers should not be statically coded)
# cd ~/cppchecksolutions/cppcheck && python3 tools/get_checkers.py > lib/checkers.cpp
#
# Update copyright year
# Update copyright year TODO release script
# 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/'
#
Expand All @@ -37,8 +42,8 @@
# Update AUTHORS using output from:
# git log --format='%aN' 2.7..HEAD | sort -u > AUTHORS2 && diff -y AUTHORS AUTHORS2 | less
#
# Create 2.8.x branch
# git checkout -b 2.8.x ; git push -u origin 2.8.x
# Create 2.18.x branch
# git checkout -b 2.18.x ; git push -u origin 2.18.x
#
# Release notes:
# - ensure safety critical issues are listed properly
Expand All @@ -61,7 +66,7 @@
#
# Update the Makefile:
# make dmake && ./dmake --release
# git commit -a -m "2.8: Updated Makefile [ci skip]"
# git commit -a -m "2.8: Updated Makefile"
#
# Ensure that CI is happy
#
Expand All @@ -86,7 +91,8 @@
# Update download link on index.php main page
#
# Trac:
# 1. Create ticket "2.12 safety cosmetic changes"
# 1. Create ticket "2.18 safety cosmetic changes"
# git log --format=oneline 2.17.0..HEAD | egrep -v "^[0-9a-f]*[ ][ ]*([Ff]ix|fixed|Fixup|Fixes|refs)?[ ]*#*[0-9]+"
# 2. Check priorities for all tickets in milestone. Should be: safety-*
# 3. Create new milestone
# 4. Close old milestone
Expand Down