minor updates of createrelease

This commit is contained in:
Daniel Marjamäki 2016-01-09 15:37:10 +01:00
parent 4d7ac522aa
commit 02c631a76e
1 changed files with 5 additions and 13 deletions

View File

@ -2,22 +2,16 @@
# #
# A script for creating release packages. The release packages are create in the home directory. # A script for creating release packages. The release packages are create in the home directory.
# #
# Test cppcheck on itself.
# cppcheck -q -j2 --inconclusive --enable=all lib
#
# Update translations # Update translations
# lupdate gui.pro # lupdate gui.pro
# #
# Make sure "cppcheck --errorlist" works. For example with: # Make sure "cppcheck --errorlist" works. For example with:
# make test # make test
# cppcheck --errorlist > errlist.xml # ./cppcheck --errorlist > errlist.xml && xmllint --noout errlist.xml
# xmllint --noout errlist.xml # ./cppcheck --xml-version=2 --errorlist > errlist.xml && xmllint --noout errlist.xml
# cppcheck --xml-version=2 --errorlist > errlist.xml
# xmllint --noout errlist.xml
# #
# Update AUTHORS using output from: # Update AUTHORS using output from:
# git log --format='%aN' | sort -u > AUTHORS2 # git log --format='%aN' 1.72..HEAD | sort -u > AUTHORS2 && diff -y AUTHORS AUTHORS2 | less
# diff -y AUTHORS AUTHORS2 | less
# #
# Update version numbers in: # Update version numbers in:
# sed -i "s/1.[0-9][0-9].99/1.62/" cli/main.cpp # sed -i "s/1.[0-9][0-9].99/1.62/" cli/main.cpp
@ -26,13 +20,11 @@
# sed -i "s/1.[0-9][0-9] dev/1.62/" win_installer/productInfo.wxi # sed -i "s/1.[0-9][0-9] dev/1.62/" win_installer/productInfo.wxi
# sed -i "s/1.[0-9][0-9].99/1.62/" win_installer/productInfo.wxi # sed -i "s/1.[0-9][0-9].99/1.62/" win_installer/productInfo.wxi
# Verify: # Verify:
# grep '\.99' */*.[ch]* # grep '\.99' */*.[ch]* && grep '[0-9][0-9] dev' */*.[ch]*
# grep '[0-9][0-9] dev' */*.[ch]*
# git commit -a -m "1.43: Set versions" # git commit -a -m "1.43: Set versions"
# #
# Update the Makefile: # Update the Makefile:
# make dmake # make dmake && ./dmake --release
# ./dmake --release
# git commit -a -m "1.43: Updated Makefile" # git commit -a -m "1.43: Updated Makefile"
# #
# Build and test the windows installer # Build and test the windows installer