release.sh (226B)
1 #!/usr/bin/env bash 2 3 VER=`git describe --tags` 4 5 echo "archiving tagged version ${VER} to release folder" 6 7 cd `dirname $0`/.. 8 mkdir -p release 9 git archive --format=tar.gz --prefix=flatcc-$VER/ v$VER >release/flatcc-$VER.tar.gz