annotate deploy/src/archive.sh @ 496:109016400b9c 2.0-integration

Update analysis stuff when recording starts (and when model is added) rather than when it ends. Not continuing to update during recording though...
author Chris Cannam
date Mon, 12 Oct 2015 17:10:43 +0100
parents 61b8c366f1f3
children 287b7b349a8a
rev   line source
Chris@230 1 #!/bin/bash
Chris@230 2
Chris@230 3 tag=`hg tags | grep '^v[0-9]' | head -1 | awk '{ print $1; }'`
Chris@230 4
Chris@230 5 v=`echo "$tag" |sed 's/v//'`
Chris@230 6
Chris@230 7 if test -z "$v" ; then
Chris@230 8 echo "No suitable tag found!?"
Chris@230 9 exit 1
Chris@230 10 fi
Chris@230 11
Chris@230 12 echo "Packaging up version $v from tag $tag..."
Chris@230 13
Chris@461 14 hg archive -r"$tag" --subrepos --exclude sv-dependency-builds --exclude pyin/testdata --exclude testdata /tmp/tony-"$v".tar.gz
Chris@230 15