<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,15 +1,19 @@
 #!/usr/bin/env ruby
+#
+# Adapted from http://codeintensity.blogspot.com/2008/03/creating-sparkle-appcast-via-rake-tasks.html
+#
+# Nick Brawn
 
 require 'yaml'
 require 'rubygems'
 require 'builder'
 require 'Time'
-APPCAST_URL           = &quot;http://www.nickbrawn.com/appcasts/&quot;
-APPCAST_FILENAME      = 'pepper-alpha.xml'
+APPCAST_URL           = &quot;http://YOURSITE.COM&quot;
+APPCAST_FILENAME      = 'appcast.xml'
 
 def make_appcast
   begin
-    versions = YAML.load_file(&quot;/Users/ncb/git/pepper/ReleaseTools/version_info.yml&quot;)
+    versions = YAML.load_file(&quot;/path/to/version_info.yml&quot;)
   rescue Exception =&gt; e
     raise StandardError, &quot;appcast/version_info.yml could not be loaded: #{e.message}&quot;
   end
@@ -25,7 +29,7 @@ def make_appcast
     xml.channel do
       xml.title('Pepper Appcast')
       xml.link(APPCAST_URL)
-      xml.description('Pepper app updates')
+      xml.description('New build')
       xml.language('en')
       xml.pubDate(Time.now.rfc822)
       xml.lastBuildDate(Time.now.rfc822)
@@ -36,7 +40,7 @@ def make_appcast
         
         guid = version.first
         items = version[1]
-        file = &quot;/Users/ncb/git/builds/#{items['filename']}&quot;
+        file = &quot;/path/to/#{items['filename']}&quot;
         
         xml.item do
           xml.title(items['title'])</diff>
      <filename>appcast.rb</filename>
    </modified>
    <modified>
      <diff>@@ -3,11 +3,11 @@
 # postBuild.sh 1.0 // Nick Brawn
 
 ZIP=&quot;/usr/bin/zip&quot;
-BUILDS=&quot;/Users/ncb/git/builds&quot;
+BUILDS=&quot;/path/to/builds&quot;
 PLISTBUDDY=&quot;/usr/libexec/PlistBuddy&quot;
-UPDATEAPPCAST=&quot;ReleaseTools/updateAppcastVersionInfo.rb&quot;
-APPCAST=&quot;ReleaseTools/appcast.rb&quot;
-VERSION_INFO=&quot;ReleaseTools/version_info.yml&quot;
+UPDATEAPPCAST=&quot;/path/to/updateAppcastVersionInfo.rb&quot;
+APPCAST=&quot;/path/to/appcast.rb&quot;
+VERSION_INFO=&quot;/path/to/version_info.yml&quot;
 cd $TARGET_BUILD_DIR/../../
 SRCDIR=`pwd`
 
@@ -26,8 +26,8 @@ zip -qr $BUILDS/$PRODUCT_NAME-1.0a_$BUILDNUM.zip $PRODUCT_NAME.app
 
 # Update AppCast
 
-FILE=&quot;$PRODUCT_NAME-1.0a_$BUILDNUM.zip&quot;
-TITLE=&quot;1.0a_$BUILDNUM&quot;
+FILE=&quot;$PRODUCT_NAME-1.0_$BUILDNUM.zip&quot;
+TITLE=&quot;1.0_$BUILDNUM&quot;
 
 `$SRCDIR/$UPDATEAPPCAST -c $SRCDIR/$VERSION_INFO -f $FILE -v $TITLE -t $TITLE  `
 cd $SRCDIR</diff>
      <filename>postBuild.sh</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1ce015d95e48e5fd10e96c86c18b3fa6dd892b23</id>
    </parent>
  </parents>
  <author>
    <name>Nicholas Brawn</name>
    <email>nicholas.brawn@gmail.com</email>
  </author>
  <url>http://github.com/ncb/xcode-build-scripts/commit/6a3bcd597955a3517385a46195ca0a5ea682f049</url>
  <id>6a3bcd597955a3517385a46195ca0a5ea682f049</id>
  <committed-date>2008-07-29T07:58:43-07:00</committed-date>
  <authored-date>2008-07-29T07:58:43-07:00</authored-date>
  <message>.</message>
  <tree>4ae2c81d6fdecd05e2346c64f12538fd65a834c9</tree>
  <committer>
    <name>Nicholas Brawn</name>
    <email>nicholas.brawn@gmail.com</email>
  </committer>
</commit>
