view deploy/src/archive.sh @ 382:a5e63c0af39a tonioni_experiment_july2014 v0.7_experiment_july2014

Fix to settings reset -- needs to happen before the MainWindow ctor to avoid breaking behaviour within the current run!
author Chris Cannam
date Mon, 21 Jul 2014 15:23:10 +0100
parents 455220c32196
children 61b8c366f1f3
line wrap: on
line source
#!/bin/bash

tag=`hg tags | grep '^v[0-9]' | head -1 | awk '{ print $1; }'`

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

if test -z "$v" ; then
    echo "No suitable tag found!?"
    exit 1
fi

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

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