view deploy/src/archive.sh @ 941:33418a475d9e

Don't set version from configure, track it in version.h instead. Next will be 2.5.
author Chris Cannam
date Mon, 20 Apr 2015 09:37:24 +0100
parents 7adcad79d548
children 0fd39f67a6ee
line wrap: on
line source
#!/bin/bash

tag=`hg tags | grep '^sv_v' | head -1 | awk '{ print $1; }'`

v=`echo "$tag" |sed 's/sv_v//'`

echo "Packaging up version $v from tag $tag..."

hg archive -r"$tag" --subrepos --exclude sv-dependency-builds /tmp/sonic-visualiser-"$v".tar.gz