Skip to content

Commit 0813daa

Browse files
author
William Jakobsson
committed
capitalize text and add author username step [skip ci]
1 parent 967bfcd commit 0813daa

1 file changed

Lines changed: 21 additions & 20 deletions

File tree

createrelease

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
# 2.22.0-rc1 TAG - release candidate
2121
#
2222
#
23-
# update mappings..
23+
# Update mappings:
2424
# cd ~/cppchecksolutions/addon/coverage
2525
# CPPCHECK_REPO=~/cppchecksolutions/cppcheck python3 coverage.py --code
2626
#
27-
# check every isPremiumEnabled call: TODO write helper script
27+
# Check every isPremiumEnabled call: TODO write helper script
2828
# - every id should be in --errorlist
2929
# git grep 'isPremiumEnabled[(]"' | sed 's/.*isPremiumEnabled[(]"//' | sed 's/".*//' | sort | uniq > ids1.txt
3030
# ./cppcheck --errorlist | grep ' id="' | sed 's/.* id="//' | sed 's/".*//' | sort | uniq > ids2.txt
@@ -37,14 +37,14 @@
3737
# - ensure latest build was successful
3838
# - ensure cfg files etc are included (win_installer/cppcheck.wxs)
3939
#
40-
# self check, fix critical issues:
40+
# Self check, fix critical issues:
4141
# make clean && make CXXOPTS=-O2 MATCHCOMPILER=yes -j4
4242
# ./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
4343
#
44-
# Generate lib/checkers.cpp (TODO the premium checkers should not be statically coded)
44+
# Generate lib/checkers.cpp: (TODO the premium checkers should not be statically coded)
4545
# cd ~/cppchecksolutions/cppcheck && python3 tools/get_checkers.py > lib/checkers.cpp
4646
#
47-
# Update copyright year TODO release script
47+
# Update copyright year TODO release script:
4848
# git diff $PREV -- */*.cpp */*.h | grep '^diff --git a/' | sed 's|.* b/||' | xargs sed -i 's/Copyright (C) 2007-20[12]./Copyright (C) 2007-2022/'
4949
# git diff | grep '^diff --git a/'
5050
#
@@ -53,11 +53,12 @@
5353
#
5454
# Update AUTHORS using output from:
5555
# git log --format='%aN' $PREV..HEAD | sort -u > AUTHORS2 && diff -y AUTHORS AUTHORS2 | less
56+
# include usernames in pr title and commmmit message
5657
#
57-
# Update GUI translations
58-
# lupdate gui.pro
58+
# Update GUI translations:
59+
# cd ~/cppchecksolutions/cppcheck/gui && lupdate gui.pro
5960
#
60-
# Create new release branch
61+
# Create new release branch:
6162
# git checkout -b $BRANCH ; git push -u origin $BRANCH
6263
# in fork:
6364
# * add upstream: git remote add upstream git@github.com:/cppcheck-opensource//cppcheck.git
@@ -80,7 +81,7 @@
8081
# make dmake && ./dmake --release
8182
# git commit -a -m "$VERSION: Updated Makefile"
8283
#
83-
# Commit changes
84+
# Commit changes:
8485
# git push
8586
#
8687
# Ensure that CI is happy
@@ -90,7 +91,7 @@
9091
# git push --tags
9192
#
9293
# Release
93-
# =======
94+
# ========================
9495
#
9596
# Remove "-rc1" from versions. Test: git grep "\-rc[0-9]"
9697
#
@@ -100,8 +101,8 @@
100101
# git tag $VERSION ; git push --tags
101102
# ./createrelease $VERSION
102103
#
103-
# copy msi from release-windows, install and test cppcheck
104-
# copy manual from build-manual
104+
# Copy msi from release-windows, install and test cppcheck
105+
# Copy manual from build-manual
105106
#
106107
# Update download link on index.php main page
107108
#
@@ -112,21 +113,21 @@
112113
# 3. Create new milestone
113114
# 4. Close old milestone
114115
#
115-
# write a news
116+
# Write a news
116117
#
117-
# save "cppcheck --doc" output on wiki
118+
# Save "cppcheck --doc" output on wiki
118119
#
119-
# compile new democlient:
120+
# Compile new democlient:
120121
# ssh -t danielmarjamaki,cppcheck@shell.sourceforge.net create
121122
# ./build-cppcheck.sh
122123
#
123-
# create a ticket with data from http://cppcheck1.osuosl.org:8000/time_gt.html for performance tracking
124+
# Create a ticket with data from http://cppcheck1.osuosl.org:8000/time_gt.html for performance tracking
124125
# (example: https://trac.cppcheck.net/ticket/13715)
125126
# - type: defect
126127
# - component: Performance
127128
# - summary: [meta] performance regressions in $VERSION
128129
#
129-
# run daca with new release
130+
# Run daca with new release:
130131
# 1. edit tools/donate-cpu-server.py. Update OLD_VERSION and SERVER_VERSION
131132
# 2. scp -i ~/.ssh/osuosl_id_rsa tools/donate-cpu-server.py danielmarjamaki@cppcheck1.osuosl.org:/var/daca@home/
132133
#
@@ -137,11 +138,11 @@
137138
# * git log $PREV..$VERSION > Changelog
138139
# * mkdir out && python3 ~/cppchecksolutions/release/getWorkflowAndIssueLogs.py -r /cppcheck-opensource//cppcheck -t $VERSION -p out
139140

140-
# Folder/tag to use
141+
# Folder/tag to use:
141142
folder=$1
142143
tag=$folder.0
143144

144-
# Name of release
145+
# Name of release:
145146
releasename=cppcheck-$tag
146147

147148
set -e
@@ -173,7 +174,7 @@ scp htdocs/* danielmarjamaki,cppcheck@web.sourceforge.net:htdocs/
173174
cd ..
174175
rm -rf upload
175176

176-
# Local cppcheck binary
177+
# Local cppcheck binary:
177178
mkdir -p ~/.cppcheck/$tag
178179
cd ~/.cppcheck/$tag
179180
cp -R ~/cppcheck/cfg .

0 commit comments

Comments
 (0)