comparison deploy/src/archive.sh @ 173:595df44835d6

Source archive script
author Chris Cannam
date Wed, 15 Oct 2014 16:32:39 +0100
parents
children a82030ec7b1f
comparison
equal deleted inserted replaced
172:64a7faf9a122 173:595df44835d6
1 #!/bin/bash
2
3 tag=`hg tags | grep '^sonic-annotator-' | head -1 | awk '{ print $1; }'`
4
5 v=`echo "$tag" |sed 's/sonic-annotator-//'`
6
7 echo "Packaging up version $v from tag $tag..."
8
9 hg archive -r"$tag" --subrepos --exclude sv-dependency-builds /tmp/sonic-annotator-"$v".tar.gz
10