dotar/vim/bundle/timcharper-textile/package.sh

10 lines
215 B
Bash
Raw Normal View History

2012-04-04 17:18:35 +08:00
#!/bin/bash
cd `dirname "$0"`
VERSION=`git tag | sort_rev | tail -n 1`
git archive --prefix=textile/ $VERSION | tar xf -
rm textile/.gitignore textile/package.sh
zip -r textile-$VERSION.zip textile
rm -rf textile