# HG changeset patch # User Chris Cannam # Date 1399654601 -3600 # Node ID d333705f6c29f48f5966e127026d830629845795 # Parent c2b9b781f0069966140977d0f6fe4faae561634e Add script to archive from tip rev diff -r c2b9b781f006 -r d333705f6c29 deploy/src/archive-tip.sh --- /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 +