Chris@718: #!/bin/bash
Chris@718: 
Chris@718: tag=`hg id | awk '{ print $1; }'`
Chris@718: 
Chris@718: echo "Packaging from tag $tag..."
Chris@718: 
Chris@718: hg archive -r"$tag" --subrepos --exclude sv-dependency-builds /tmp/sonic-visualiser-"$tag".tar.gz
Chris@718: