Mercurial > hg > sonic-visualiser
comparison deploy/src/archive.sh @ 654:7adcad79d548
Add script to archive from tag
author | Chris Cannam |
---|---|
date | Tue, 05 Nov 2013 11:44:15 +0000 |
parents | |
children | 0fd39f67a6ee |
comparison
equal
deleted
inserted
replaced
653:491cabaf9f70 | 654:7adcad79d548 |
---|---|
1 #!/bin/bash | |
2 | |
3 tag=`hg tags | grep '^sv_v' | head -1 | awk '{ print $1; }'` | |
4 | |
5 v=`echo "$tag" |sed 's/sv_v//'` | |
6 | |
7 echo "Packaging up version $v from tag $tag..." | |
8 | |
9 hg archive -r"$tag" --subrepos --exclude sv-dependency-builds /tmp/sonic-visualiser-"$v".tar.gz | |
10 |