view deploy/src/archive.sh @ 263:68dc2d99a5b1 piper-nopiper

Debug output updates, add quiet mode
author Chris Cannam
date Tue, 22 Nov 2016 16:42:56 +0000
parents 595df44835d6
children a82030ec7b1f
line wrap: on
line source
#!/bin/bash

tag=`hg tags | grep '^sonic-annotator-' | head -1 | awk '{ print $1; }'`

v=`echo "$tag" |sed 's/sonic-annotator-//'`

echo "Packaging up version $v from tag $tag..."

hg archive -r"$tag" --subrepos --exclude sv-dependency-builds /tmp/sonic-annotator-"$v".tar.gz