diff --git a/.gitignore b/.gitignore index 7ec36ea..19a7a19 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,7 @@ -SOURCES/mtdev-1.1.5.tar.bz2 +mtdev-20100706.tar.bz2 +mtdev-20100803.tar.bz2 +/mtdev-20110105.tar.bz2 +/mtdev-1.1.2.tar.bz2 +/mtdev-1.1.3.tar.bz2 +/mtdev-1.1.4.tar.bz2 /mtdev-1.1.5.tar.bz2 diff --git a/commitid b/commitid new file mode 100644 index 0000000..6d3374f --- /dev/null +++ b/commitid @@ -0,0 +1 @@ +9e3daba37d1d15c99a41a2d838bf683934cc7077 diff --git a/make-git-snapshot.sh b/make-git-snapshot.sh new file mode 100644 index 0000000..8b3a485 --- /dev/null +++ b/make-git-snapshot.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +DIRNAME=mtdev-$( date +%Y%m%d ) + +rm -rf $DIRNAME +git clone http://bitmath.org/git/mtdev.git $DIRNAME +cd $DIRNAME +if [ -z "$1" ]; then + git log | head -1 +else + git checkout $1 +fi +git log | head -1 | awk '{ print $2 }' > ../commitid +git repack -a -d +cd .. +tar jcf $DIRNAME.tar.bz2 $DIRNAME +rm -rf $DIRNAME