createrelease: automate a little more
This commit is contained in:
parent
0d7836f3a0
commit
236c1955ac
|
@ -69,22 +69,36 @@ tag=$1
|
||||||
# Name of release
|
# Name of release
|
||||||
releasename=cppcheck-$tag
|
releasename=cppcheck-$tag
|
||||||
|
|
||||||
# Create archives..
|
set -e
|
||||||
git archive --format=tar --prefix=$releasename/ $tag | gzip > ~/$releasename.tar.gz
|
|
||||||
git archive --format=tar --prefix=$releasename/ $tag | bzip2 > ~/$releasename.tar.bz2
|
|
||||||
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/
|
cd ~/cppcheck
|
||||||
|
|
||||||
|
mkdir upload
|
||||||
|
|
||||||
|
# Create archives..
|
||||||
|
git archive --format=tar --prefix=$releasename/ $tag | gzip > upload/$releasename.tar.gz
|
||||||
|
git archive --format=tar --prefix=$releasename/ $tag | bzip2 > upload/$releasename.tar.bz2
|
||||||
|
git archive --format=zip -9 --prefix=$releasename/ $tag > upload/$releasename.zip
|
||||||
|
cd upload
|
||||||
|
wget https://www.pkeus.de/~philipp/Temp/$releasename-x64-Setup.msi
|
||||||
|
#wget https://www.pkeus.de/~philipp/Temp/$releasename-x86-Setup.msi
|
||||||
|
scp $releasename.* danielmarjamaki,cppcheck@frs.sourceforge.net:/home/frs/project/c/cp/cppcheck/cppcheck/$tag/
|
||||||
|
rm $releasename.*
|
||||||
|
cd ..
|
||||||
|
|
||||||
# Generate the manual.pdf, manual.html and version.txt
|
# Generate the manual.pdf, manual.html and version.txt
|
||||||
make clean && make -j4
|
make -j4
|
||||||
mkdir upload
|
./cppcheck --version > upload/version.txt
|
||||||
./cppcheck --version > version.txt
|
cd ~/cppcheck/man
|
||||||
mv version.txt upload/
|
./buildman.sh
|
||||||
cd man && ./buildman.sh
|
|
||||||
mv manual.pdf ../upload/
|
mv manual.pdf ../upload/
|
||||||
mv manual.html ../upload/
|
mv manual.html ../upload/
|
||||||
mv reference-cfg-format.pdf ../upload/
|
mv reference-cfg-format.pdf ../upload/
|
||||||
mv reference-cfg-format.html ../upload/
|
mv reference-cfg-format.html ../upload/
|
||||||
cd ../upload && scp * danielmarjamaki,cppcheck@web.sourceforge.net:htdocs/ && cd .. && rm -rf upload
|
|
||||||
|
cd ~/cppcheck/upload
|
||||||
|
scp * danielmarjamaki,cppcheck@web.sourceforge.net:htdocs/
|
||||||
|
|
||||||
|
cd ~/cppcheck
|
||||||
|
rm -rf upload
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue