Mercurial > hg > sonic-visualiser
changeset 718:d333705f6c29
Add script to archive from tip rev
author | Chris Cannam |
---|---|
date | Fri, 09 May 2014 17:56:41 +0100 |
parents | c2b9b781f006 |
children | 35f1af908dcb |
files | deploy/src/archive-tip.sh |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
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 +