summaryrefslogtreecommitdiff
blob: f902d0fccd057772edac7e6c44149863db7e9509 (plain)
1
2
3
4
5
6
7
#!/bin/sh
DATE=$(date +%Y%m%d-%H%MZ -u)
TAG=mysql-extras-$DATE
outfile=${TAG}.tar.bz2
git tag $TAG
git archive --prefix="${TAG}/" $TAG | bzip2 >../${outfile}
echo "$outfile generated."