cppcheck/createrelease

15 lines
439 B
Plaintext
Raw Normal View History

2009-02-02 20:21:58 +01:00
#!/bin/bash
# A script for creating source archives from a GIT tag
#
# Archive files are created in user's home directory.
# Tag to use
2009-05-10 12:31:47 +02:00
tag=1.32
2009-02-02 20:21:58 +01:00
# Name of release
releasename=cppcheck-$tag
2009-02-02 20:21:58 +01:00
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