|
17 | 17 | # lupdate gui.pro |
18 | 18 | # |
19 | 19 | # Update copyright year |
20 | | -# git diff 2.6 -- */*.cpp */*.h | grep '^diff --git a/' | sed 's|.* b/||' | xargs sed -i 's/Copyright (C) 2007-20[12]./Copyright (C) 2007-2022/' |
| 20 | +# 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/' |
21 | 21 | # git diff | grep '^diff --git a/' |
22 | 22 | # |
23 | 23 | # Make sure "cppcheck --errorlist" works: |
24 | 24 | # make clean && make -j4 && ./cppcheck --errorlist > errlist.xml && xmllint --noout errlist.xml |
25 | 25 | # |
26 | 26 | # Update AUTHORS using output from: |
27 | | -# git log --format='%aN' 1.81..HEAD | sort -u > AUTHORS2 && diff -y AUTHORS AUTHORS2 | less |
| 27 | +# git log --format='%aN' 2.7..HEAD | sort -u > AUTHORS2 && diff -y AUTHORS AUTHORS2 | less |
28 | 28 | # |
29 | | -# Create 2.6.x branch |
30 | | -# git checkout -b 2.6.x ; git push -u origin 2.6.x |
| 29 | +# Create 2.8.x branch |
| 30 | +# git checkout -b 2.8.x ; git push -u origin 2.8.x |
31 | 31 | # |
32 | 32 | # Update version numbers in: |
33 | | -# sed -i -r "s/version 2[.][0-9]+([.]99)*/version 2.7/" cli/main.cpp |
34 | | -# sed -i -r "s|2[.][0-9]+([.]99)*|2.7|" cmake/versions.cmake |
35 | | -# sed -i -r "s/MINOR [0-9]+/MINOR 7/" lib/version.h |
36 | | -# sed -i -r "s/2[.][0-9]+([.]99)*/2.7/" win_installer/productInfo.wxi |
37 | | -# sed -i -r "s/subtitle: Version 2\.[0-9]+/subtitle: Version 2.7/" man/*.md |
| 33 | +# sed -i -r "s/version 2[.][0-9]+([.]99)*/version 2.9/" cli/main.cpp |
| 34 | +# sed -i -r "s|2[.][0-9]+([.]99)*|2.9|" cmake/versions.cmake |
| 35 | +# sed -i -r "s/MINOR [0-9]+/MINOR 9/" lib/version.h |
| 36 | +# sed -i -r "s/2[.][0-9]+([.]99)*/2.9/" win_installer/productInfo.wxi |
| 37 | +# sed -i -r "s/subtitle: Version 2\.[0-9]+/subtitle: Version 2.9/" man/*.md |
38 | 38 | # Ensure that "-rc1" is added in productInfo.wxi and lib/version.h |
39 | 39 | # Verify: |
40 | 40 | # grep '\.99' */*.[ch]* && grep '[0-9][0-9] dev' */*.[ch]* |
41 | 41 | # egrep "2\.[0-9]+" */*.h */*.cpp man/*.md | grep -v "test/test" | less |
42 | | -# git commit -a -m "1.43: Set versions" |
| 42 | +# git commit -a -m "2.8: Set versions" |
43 | 43 | # |
44 | 44 | # Build and test the windows installer |
45 | 45 | # |
46 | 46 | # Update the Makefile: |
47 | 47 | # make dmake && ./dmake --release |
48 | | -# git commit -a -m "1.43: Updated Makefile" |
| 48 | +# git commit -a -m "2.8: Updated Makefile" |
49 | 49 | # |
50 | 50 | # Tag: |
51 | | -# git tag 2.6-rc1 |
| 51 | +# git tag 2.8-rc1 |
52 | 52 | # git push --tags |
53 | 53 | # |
54 | 54 | # Release |
|
58 | 58 | # |
59 | 59 | # Remove "-rc1" from versions. Test: git grep "\-rc[0-9]" |
60 | 60 | # |
61 | | -# git tag 2.6 ; git push --tags |
62 | | -# ./createrelease 2.6 |
| 61 | +# git tag 2.8 ; git push --tags |
| 62 | +# ./createrelease 2.8 |
63 | 63 | # |
64 | 64 | # Create a release folder on sourceforge: |
65 | 65 | # https://sourceforge.net/projects/cppcheck/files/cppcheck/ |
|
75 | 75 | # |
76 | 76 | # compile new democlient: |
77 | 77 | # ssh -t danielmarjamaki,cppcheck@shell.sourceforge.net create |
78 | | -# ./build-cppcheck.sh 1.43 |
| 78 | +# ./build-cppcheck.sh 2.8 |
79 | 79 | # |
80 | 80 | # run daca with new release |
81 | 81 | # 1. edit tools/donate-cpu-server.py. Update OLD_VERSION and VERSION |
|
0 commit comments