re-import sources as agreed with the maintainer
This commit is contained in:
parent
c734ef5850
commit
0294e01c6b
7
.gitignore
vendored
7
.gitignore
vendored
@ -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
|
||||
|
17
make-git-snapshot.sh
Normal file
17
make-git-snapshot.sh
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user