diff deploy/src/archive-tip.sh @ 718:d333705f6c29

Add script to archive from tip rev
author Chris Cannam
date Fri, 09 May 2014 17:56:41 +0100
parents
children 471b0fb002ea
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/deploy/src/archive-tip.sh	Fri May 09 17:56:41 2014 +0100
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+tag=`hg id | awk '{ print $1; }'`
+
+echo "Packaging from tag $tag..."
+
+hg archive -r"$tag" --subrepos --exclude sv-dependency-builds /tmp/sonic-visualiser-"$tag".tar.gz
+