From 576337f7b6b249908bb663a2e41f4ebfd180feca Mon Sep 17 00:00:00 2001
From: Pieter de Bie
Date: Sat, 28 Mar 2009 22:39:45 +0000
Subject: [PATCH] Site: Automatically read the latest version from the Release
Notes
I'm not sure if we should use the release notes here or rather
use the tags, but this follows other information on the site
like the "Release History", so at least it's internally consistent.
---
Site/templates/sparkle.xml | 2 +-
Site/text/index.markdown | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Site/templates/sparkle.xml b/Site/templates/sparkle.xml
index fc5fb3a..0f44e31 100644
--- a/Site/templates/sparkle.xml
+++ b/Site/templates/sparkle.xml
@@ -7,7 +7,7 @@
-
- GitX 0.6.1
+ GitX <%= ReleaseNotes::last_version %>
Thu, 29 Jan 2009 23:54:01 GMT
diff --git a/Site/text/index.markdown b/Site/text/index.markdown
index cd56c8b..c8bea36 100644
--- a/Site/text/index.markdown
+++ b/Site/text/index.markdown
@@ -2,7 +2,7 @@
@@ -37,7 +37,7 @@ then in silky smooth OS X style!
Download
- The newest version of GitX is 0.6.1. This version can be downloaded from here. To see what has changed, read the Release History.
+ The newest version of GitX is <%= ReleaseNotes::last_version %>. This version can be downloaded from here. To see what has changed, read the Release History.
After you have started it once, you can install the command-line tool through the menu (GitX->Enable Terminal Usage…). This will install a “gitx” binary in /usr/local/bin.