Mercurial > hg > sonic-annotator
view deploy/src/archive.sh @ 182:11a9ce2fa331
Add ability to read segment boundaries from a file; test for it; bump version no; make test script bail out if path has spaces (can't cope with that, sheesh)
author | Chris Cannam |
---|---|
date | Fri, 09 Jan 2015 11:48:12 +0000 |
parents | 595df44835d6 |
children | a82030ec7b1f |
line wrap: on
line source
#!/bin/bash tag=`hg tags | grep '^sonic-annotator-' | head -1 | awk '{ print $1; }'` v=`echo "$tag" |sed 's/sonic-annotator-//'` echo "Packaging up version $v from tag $tag..." hg archive -r"$tag" --subrepos --exclude sv-dependency-builds /tmp/sonic-annotator-"$v".tar.gz