Hints and Tips

This page collects some useful hints and tips.

Make tarballs from all tags

PROJECT=cil
git tag -l | cut -c2- | while read TAG; do
    echo "Doing $TAG for $PROJECT"
    git archive --format=tar --prefix=$PROJECT-$TAG/ v$TAG | gzip > $PROJECT-$TAG.tar.gz;
done

(Ends)

Labels:

Inserted: 2010-01-24 09:06 (2 years ago)