view deploy/src/archive-tip.sh @ 834:605169ca0950

Simplify some logic where loop was used with an unconditional "break" that meant it could only happen once (from coverity scan)
author Chris Cannam
date Wed, 03 Sep 2014 12:05:45 +0100
parents d333705f6c29
children 471b0fb002ea
line wrap: on
line source
#!/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