Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (11 sloc) 439 Bytes
#!/bin/bash
# A script for creating source archives from a GIT tag
#
# Archive files are created in user's home directory.
# Tag to use
tag=1.31
# Name of release
releasename=cppcheck-$tag
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
Jump to Line
Something went wrong with that request. Please try again.