createrelease: Update script

This commit is contained in:
Daniel Marjamäki 2019-06-29 10:21:03 +02:00
parent 4b67780bae
commit 7b3efa3f52
1 changed files with 13 additions and 8 deletions

View File

@ -40,6 +40,9 @@
# git tag 1.43 # git tag 1.43
# git push --tags # git push --tags
# #
# Create a release folder on sourceforge:
# https://sourceforge.net/projects/cppcheck/files/cppcheck/
#
# Create release: # Create release:
# ./createrelease 1.43 # ./createrelease 1.43
# #
@ -74,12 +77,14 @@ git archive --format=zip -9 --prefix=$releasename/ $tag > ~/$releasename.zip
scp ~/$releasename.* danielmarjamaki,cppcheck@frs.sourceforge.net:/home/frs/project/c/cp/cppcheck/cppcheck/$tag/ scp ~/$releasename.* danielmarjamaki,cppcheck@frs.sourceforge.net:/home/frs/project/c/cp/cppcheck/cppcheck/$tag/
# Generate the manual.pdf, manual.html and version.txt # Generate the manual.pdf, manual.html and version.txt
make clean && make make clean && make -j4
mkdir upload
./cppcheck --version > version.txt ./cppcheck --version > version.txt
scp version.txt danielmarjamaki,cppcheck@web.sourceforge.net:htdocs/ mv version.txt upload/
xsltproc -xinclude -o manual.fo /usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl man/manual.docbook cd man && ./buildman.sh
fop manual.fo -pdf manual.pdf mv manual.pdf ../upload/
#docbook2pdf man/manual.docbook mv manual.html ../upload/
scp manual.pdf danielmarjamaki,cppcheck@web.sourceforge.net:htdocs/ mv reference-cfg-format.pdf ../upload/
xsltproc -o manual.html /usr/share/xml/docbook/stylesheet/nwalsh/xhtml/docbook.xsl man/manual.docbook mv reference-cfg-format.html ../upload/
scp manual.html danielmarjamaki,cppcheck@web.sourceforge.net:htdocs/ cd ../upload && scp * danielmarjamaki,cppcheck@web.sourceforge.net:htdocs/ && cd .. && rm -rf upload