view deploy/src/archive.sh @ 844:ce4d9e149086

Use openPath instead of open() when opening local file or URL (for progress indicator). I think I didn't realise this distinction between the two functions, which formerly were both named open().
author Chris Cannam
date Tue, 09 Sep 2014 16:33:52 +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