7 echo "usage: $0 version"
11 FILEBASE
="herrie-$1.tar"
12 DISTDIR
="www/distfiles"
13 TARBZ2
="$FILEBASE.bz2"
18 if [ -e $DISTDIR/$TARBZ2 -o -e $DISTDIR/$TARGZ ]
20 echo "file already exists"
25 git archive
--format=tar --prefix="herrie-$1/" HEAD
:herrie |
26 bzip2 -9 > $DISTDIR/$TARBZ2
28 bzip2 -d < $TARBZ2 |
gzip -9 > $TARGZ
30 for i
in $TARBZ2 $TARGZ
32 md5
$i |
sed -e 's| | |'
34 stat
-f "SIZE ($i) = %z" $i
35 done |
sed -e 's|\.gz)|.gz )|'
37 echo "don't forget to run ./updatestuff!"