createrelease: Update script
This commit is contained in:
parent
4b67780bae
commit
7b3efa3f52
|
@ -40,6 +40,9 @@
|
|||
# git tag 1.43
|
||||
# git push --tags
|
||||
#
|
||||
# Create a release folder on sourceforge:
|
||||
# https://sourceforge.net/projects/cppcheck/files/cppcheck/
|
||||
#
|
||||
# Create release:
|
||||
# ./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/
|
||||
|
||||
# Generate the manual.pdf, manual.html and version.txt
|
||||
make clean && make
|
||||
make clean && make -j4
|
||||
mkdir upload
|
||||
./cppcheck --version > version.txt
|
||||
scp 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.docbook
|
||||
fop manual.fo -pdf manual.pdf
|
||||
#docbook2pdf man/manual.docbook
|
||||
scp manual.pdf danielmarjamaki,cppcheck@web.sourceforge.net:htdocs/
|
||||
xsltproc -o manual.html /usr/share/xml/docbook/stylesheet/nwalsh/xhtml/docbook.xsl man/manual.docbook
|
||||
scp manual.html danielmarjamaki,cppcheck@web.sourceforge.net:htdocs/
|
||||
mv version.txt upload/
|
||||
cd man && ./buildman.sh
|
||||
mv manual.pdf ../upload/
|
||||
mv manual.html ../upload/
|
||||
mv reference-cfg-format.pdf ../upload/
|
||||
mv reference-cfg-format.html ../upload/
|
||||
cd ../upload && scp * danielmarjamaki,cppcheck@web.sourceforge.net:htdocs/ && cd .. && rm -rf upload
|
||||
|
||||
|
|
Loading…
Reference in New Issue