Mercurial > hg > sonic-annotator
annotate deploy/src/archive.sh @ 206:704a8b27f3ed
Add & test the digits option in the Lab file writer
author | Chris Cannam |
---|---|
date | Tue, 03 Nov 2015 13:42:11 +0000 |
parents | 595df44835d6 |
children | a82030ec7b1f |
rev | line source |
---|---|
Chris@173 | 1 #!/bin/bash |
Chris@173 | 2 |
Chris@173 | 3 tag=`hg tags | grep '^sonic-annotator-' | head -1 | awk '{ print $1; }'` |
Chris@173 | 4 |
Chris@173 | 5 v=`echo "$tag" |sed 's/sonic-annotator-//'` |
Chris@173 | 6 |
Chris@173 | 7 echo "Packaging up version $v from tag $tag..." |
Chris@173 | 8 |
Chris@173 | 9 hg archive -r"$tag" --subrepos --exclude sv-dependency-builds /tmp/sonic-annotator-"$v".tar.gz |
Chris@173 | 10 |