<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,4 @@
 *.pyc
 index.yaml
 .*.swp
+*.zip</diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -19,14 +19,14 @@
 
 source version.sh
 
-if [ ! &quot;$tagged&quot; ]; then
+if [ ! &quot;$git_tag&quot; ]; then
     echo &quot;This script must run on a tagged revision.&quot; &gt;&amp;2
     echo &quot;Current tags:&quot; &gt;&amp;2
     git tag | sed 's/^/ - /' &gt;&amp;2
     exit 1
 fi
 
-package=&quot;AppEngineConsole-$app_version&quot;
+package=&quot;AppEngineConsole-$git_tag&quot;
 target=&quot;$PWD/$package&quot;
 zipfile=&quot;$PWD/$package.zip&quot;
 
@@ -37,9 +37,9 @@ set -e
 rm -vf &quot;$zipfile&quot;
 mkdir -p &quot;$target&quot;
 
-allow_modified=1
+allow_modified=0
 if [ -z &quot;$allow_modified&quot; ]; then
-    if ! git diff-index --quiet --cached &quot;$app_version&quot; --; then
+    if ! git diff-index --quiet --cached &quot;$git_tag&quot; --; then
         echo 'Error: This checkout has been modified from the tagged version' &gt;&amp;2
         exit 1
     fi
@@ -58,4 +58,4 @@ cd &quot;$target&quot;
 zip -r &quot;$zipfile&quot; console
 
 cd ..
-#rm -rf &quot;$target&quot;
+rm -rf &quot;$target&quot;</diff>
      <filename>build.sh</filename>
    </modified>
    <modified>
      <diff>@@ -28,7 +28,7 @@ if [ -d &quot;$PWD/google_appengine&quot; ]; then
     PATH=&quot;$PATH:$PWD/google_appengine&quot;
 fi
 
-tagged=''
+git_tag=''
 
 # For Git, the software &quot;version&quot; will be the timestamp of the latest
 # commit to the branch in the repository, unless it is a tagged version,
@@ -40,7 +40,7 @@ for tag in .git/refs/tags/*; do
         if cat &quot;$tag&quot; | grep &quot;$commit&quot; &gt;/dev/null; then
             # This is a tagged commit, so use the tag.
             app_version=`basename &quot;$tag&quot; | sed 's/\./-/g'`
-            tagged=yes
+            git_tag=`basename &quot;$tag&quot;`
         fi
     fi
 done</diff>
      <filename>version.sh</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2d09199f8cfeb1f3ff746693f6045b96b61b2729</id>
    </parent>
  </parents>
  <author>
    <name>Jason Smith</name>
    <email>jhs@proven-corporation.com</email>
  </author>
  <url>http://github.com/jhs/app-engine-console/commit/84c0bc0be5699dd319f41635040546e11389ba7d</url>
  <id>84c0bc0be5699dd319f41635040546e11389ba7d</id>
  <committed-date>2008-09-05T10:59:31-07:00</committed-date>
  <authored-date>2008-09-05T10:59:31-07:00</authored-date>
  <message>Fix the build script so the tag name is correct and unmodified</message>
  <tree>166c27ce2fbcd685015d12f6950071a38bbb7727</tree>
  <committer>
    <name>Jason Smith</name>
    <email>jhs@proven-corporation.com</email>
  </committer>
</commit>
