# HG changeset patch # User Chris Cannam # Date 1294847573 0 # Node ID 7057a4dcac3ef49275be383a7326e79a4ba76ba8 # Parent f32465eba05544d37edcf7ab2f74c6cad59db738 * Version -> 0.3.1 (and update OS/X deploy to handle three-part versions) diff -r f32465eba055 -r 7057a4dcac3e deploy/osx/deploy.sh --- a/deploy/osx/deploy.sh Wed Jan 12 15:46:37 2011 +0000 +++ b/deploy/osx/deploy.sh Wed Jan 12 15:52:53 2011 +0000 @@ -6,7 +6,11 @@ app=EasyMercurial version=`perl -p -e 's/^[^"]*"([^"]*)".*$/$1/' version.h` -bundleVersion="$version".0 +case "$version" in + [0-9].[0-9]) bundleVersion="$version".0 ;; + [0-9].[0-9].[0-9]) bundleVersion="$version" ;; + *) echo "Error: Version $version is neither two- nor three-part number" ;; +esac echo echo "Writing version $bundleVersion in to bundle." diff -r f32465eba055 -r 7057a4dcac3e version.h --- a/version.h Wed Jan 12 15:46:37 2011 +0000 +++ b/version.h Wed Jan 12 15:52:53 2011 +0000 @@ -1,1 +1,1 @@ -#define EASYHG_VERSION "0.3" +#define EASYHG_VERSION "0.3.1"