annotate deploy/src/archive.sh @ 372:9dbe992755c6

OS/X: When augmenting a single-key shortcut associated with an action with a global shortcut, leave the shortcut attached to the original action as well if it is a menu action with no toolbar button. Do not augment toolbar actions with global shortcuts. Aims to fix #1009 (single-key shortcuts work, but do not appear in menu)
author Chris Cannam
date Fri, 18 Jul 2014 13:25:11 +0100
parents 455220c32196
children 61b8c366f1f3
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@230 14 hg archive -r"$tag" --subrepos --exclude sv-dependency-builds --exclude testdata /tmp/tony-"$v".tar.gz
Chris@230 15