#!/bin/bash## A script for creating release packages. The release packages are create in the home directory.## self check:# ./cppcheck --library=cppcheck-lib --enable=style --inconclusive --suppress=bitwiseOnBoolean cli gui/*.cpp lib## Update translations# lupdate gui.pro## Make sure "cppcheck --errorlist" works. For example with:# make test# ./cppcheck --errorlist > errlist.xml && xmllint --noout errlist.xml# ./cppcheck --xml-version=2 --errorlist > errlist.xml && xmllint --noout errlist.xml## Update AUTHORS using output from:# git log --format='%aN' 1.81..HEAD | sort -u > AUTHORS2 && diff -y AUTHORS AUTHORS2 | less## Update version numbers in:# sed -i "s/1.[0-9][0-9].99/1.81/" cli/main.cpp# sed -i "s/1.[0-9][0-9].99/1.81/" cmake/versions.cmake# sed -i "s/MINOR [0-9][0-9]/MINOR 81/" lib/version.h# sed -i "s/1.[0-9][0-9] dev/1.81/" man/manual.docbook# sed -i "s/1.[0-9][0-9] dev/1.81/" win_installer/productInfo.wxi# sed -i "s/1.[0-9][0-9].99/1.81/" win_installer/productInfo.wxi# Verify:# grep '\.99' */*.[ch]* && grep '[0-9][0-9] dev' */*.[ch]*# git commit -a -m "1.43: Set versions"## Update the Makefile:# make dmake && ./dmake --release# git commit -a -m "1.43: Updated Makefile"## Build and test the windows installer## Tag:# git tag 1.43# git push --tags## Create release:# ./createrelease 1.43## Restore the Makefile:# ./dmake# git commit -a -m "Makefile: Set debug mode"## Update download link on index.php main page### write a news## save "cppcheck --doc" output on wiki, write new release date on wikis## compile new democlient:# ssh -t danielmarjamaki,cppcheck@shell.sourceforge.net create# ./build-cppcheck.sh 1.43## run daca with new release# Tag to usetag=1ドル# Name of releasereleasename=cppcheck-$tag# Create archives..git archive --format=tar --prefix=$releasename/ $tag | gzip > ~/$releasename.tar.gzgit archive --format=tar --prefix=$releasename/ $tag | bzip2 > ~/$releasename.tar.bz2git archive --format=zip -9 --prefix=$releasename/ $tag > ~/$releasename.zipscp ~/$releasename.* danielmarjamaki,cppcheck@frs.sourceforge.net:/home/frs/project/c/cp/cppcheck/cppcheck/$tag/# Generate the manual.pdf, manual.html and version.txtmake clean && make./cppcheck --version > version.txtscp version.txt danielmarjamaki,cppcheck@web.sourceforge.net:htdocs/xsltproc -xinclude -o manual.fo /usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl man/manual.docbookfop manual.fo -pdf manual.pdf#docbook2pdf man/manual.docbookscp manual.pdf danielmarjamaki,cppcheck@web.sourceforge.net:htdocs/xsltproc -o manual.html /usr/share/xml/docbook/stylesheet/nwalsh/xhtml/docbook.xsl man/manual.docbookscp manual.html danielmarjamaki,cppcheck@web.sourceforge.net:htdocs/
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。