Mercurial > hg > sonic-annotator
view deploy/src/archive.sh @ 296:aca11ce8a637
Do this for all values, not just first
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Thu, 25 May 2017 10:24:47 +0100 |
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