#!/bin/sh
progname=`basename $PWD`
full_vername=$progname-`git name-rev --tags HEAD| awk '{print $2}' | sed s/^v//`
cd ..
cp -RP $progname $full_vername
tar czvf $full_vername.tar.gz --exclude '*/.*' $full_vername
rm -rf $full_vername

Allow me to make a tarball here
Allow me to make a tarball here
