Adding script to build dist. Adding functionality to set VERSION
Removed exit 0
more checks before allowing git tags etc
fixed typo
bash syntax fix
removed unneeded make clean
git tag fixes
Added tar gz target