# HG changeset patch # User Chris Cannam # Date 1413387159 -3600 # Node ID 595df44835d67364fd1ce9536a794d16fc8b7a99 # Parent 64a7faf9a122fee828b13a2d8d016a56f5c64641 Source archive script diff -r 64a7faf9a122 -r 595df44835d6 deploy/src/archive.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/deploy/src/archive.sh Wed Oct 15 16:32:39 2014 +0100 @@ -0,0 +1,10 @@ +#!/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 +