changeset 173:595df44835d6

Source archive script
author Chris Cannam
date Wed, 15 Oct 2014 16:32:39 +0100
parents 64a7faf9a122
children ff28af9e1d58
files deploy/src/archive.sh
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /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
+