aboutsummaryrefslogtreecommitdiff
path: root/flatcc/scripts/release.sh
blob: d3ad8009552010814673ae13b89ea894cc9d6c85 (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash

VER=`git describe --tags`

echo "archiving tagged version ${VER} to release folder"

cd `dirname $0`/..
mkdir -p release
git archive --format=tar.gz --prefix=flatcc-$VER/ v$VER >release/flatcc-$VER.tar.gz