view deploy/src/archive-tip.sh @ 1582:7fbe87a9ba9c dev/refactor-piper-related

Invert control, injecting a server path on construction. Also add initializer_list constructor for multiple servers.
author Lucas Thompson <lucas.thompson@qmul.ac.uk>
date Thu, 09 Feb 2017 14:32:07 +0000
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