<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -11,17 +11,24 @@ VERSION=${FULLVERSION/-*/}
 echo &quot;Full version: $FULLVERSION&quot;
 echo &quot;Version: $VERSION&quot;
 
-sed -ine &quot;/^\$version =/ c \$version = '$FULLVERSION'&quot; launch_here.rb   
-sed -ine &quot;/^\$version ||=/ c \$version ||= '$FULLVERSION'&quot; bin/rbot
-sed -ine &quot;/^  s.version =/ c \  s.version = '$VERSION'&quot; Rakefile   
+sed -i -e &quot;/^\$version =/ c \$version = '$FULLVERSION'&quot; launch_here.rb
+sed -i -e &quot;/^\$version ||=/ c \$version ||= '$FULLVERSION'&quot; bin/rbot
+sed -i -e &quot;/^  s.version =/ c \  s.version = '$VERSION'&quot; Rakefile
 
-git commit -m &quot;Version $FULLVERSION&quot; -a
-git tag -a -m &quot;rbot $FULLVERSION&quot; rbot-$FULLVERSION
-rake package
-if [ $VERSION != $FULLVERSION ]; then
-	pushd pkg
-	mv rbot-$VERSION.gem rbot-$FULLVERSION.gem
-	mv rbot-$VERSION.tgz rbot-$FULLVERSION.tgz
-	mv rbot-$VERSION.zip rbot-$FULLVERSION.zip
-	popd
+NOGIT=${FULLVERSION/-git/}
+if [ $NOGIT == $FULLVERSION ]; then
+	# Not a git version
+	git commit -m &quot;Version $FULLVERSION&quot; -a
+	git tag -a -m &quot;rbot $FULLVERSION&quot; rbot-$FULLVERSION
+	rake package
+	if [ $VERSION != $FULLVERSION ]; then
+		pushd pkg
+		mv rbot-$VERSION.gem rbot-$FULLVERSION.gem
+		mv rbot-$VERSION.tgz rbot-$FULLVERSION.tgz
+		mv rbot-$VERSION.zip rbot-$FULLVERSION.zip
+		popd
+	fi
+else
+	# git version
+	git commit -m &quot;Start working on $NOGIT&quot; -a
 fi</diff>
      <filename>tag-release</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c1f17680af01f558b1d2a47a7744ec8cb71524eb</id>
    </parent>
  </parents>
  <author>
    <name>Giuseppe Bilotta</name>
    <email>giuseppe.bilotta@gmail.com</email>
  </author>
  <url>http://github.com/nofxx/ruby-br_bot/commit/3e3ae3b4ce4d35d2796d2e73206da31f8bde1655</url>
  <id>3e3ae3b4ce4d35d2796d2e73206da31f8bde1655</id>
  <committed-date>2008-07-29T13:19:05-07:00</committed-date>
  <authored-date>2008-07-29T13:12:04-07:00</authored-date>
  <message>Some enhancements to tag-release</message>
  <tree>ab36106d819837dea2d2422d2094afca2ad0df89</tree>
  <committer>
    <name>Giuseppe Bilotta</name>
    <email>giuseppe.bilotta@gmail.com</email>
  </committer>
</commit>
