Mercurial > hg > sonic-visualiser
annotate deploy/src/archive.sh @ 830:89b10dff01c7
Clarify some sneaky logic
author | Chris Cannam |
---|---|
date | Wed, 03 Sep 2014 11:49:31 +0100 (2014-09-03) |
parents | 7adcad79d548 |
children | 0fd39f67a6ee |
rev | line source |
---|---|
Chris@654 | 1 #!/bin/bash |
Chris@654 | 2 |
Chris@654 | 3 tag=`hg tags | grep '^sv_v' | head -1 | awk '{ print $1; }'` |
Chris@654 | 4 |
Chris@654 | 5 v=`echo "$tag" |sed 's/sv_v//'` |
Chris@654 | 6 |
Chris@654 | 7 echo "Packaging up version $v from tag $tag..." |
Chris@654 | 8 |
Chris@654 | 9 hg archive -r"$tag" --subrepos --exclude sv-dependency-builds /tmp/sonic-visualiser-"$v".tar.gz |
Chris@654 | 10 |