view deploy/src/archive.sh @ 221:b1ac129e2c00

Update version number in tests, and also disregard version number mismatches in JAMS output (as they're inevitable)
author Chris Cannam
date Mon, 23 Nov 2015 10:56:19 +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