Permalink
Browse files

Added tarballer script.

  • Loading branch information...
1 parent 60bc33e commit 59e1b40b0b533fd4b5b55b96cbf9b0ee8c79a1b8 Pistos committed Mar 8, 2009
Showing with 8 additions and 0 deletions.
  1. +8 −0 make-tarballs.rb
View
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# This script is only for quickly making the tarballs.
+# The make-release.rb script is the full script to run for making a release.
+
+VERSION=`grep VERSION lib/diakonos/version.rb | egrep -o '[0-9.]+'`
+git archive --format=tar --prefix=diakonos-${VERSION}/ HEAD | bzip2 > diakonos-${VERSION}.tar.bz2
+git archive --format=tar --prefix=diakonos-${VERSION}/ HEAD | gzip > diakonos-${VERSION}.tar.gz

0 comments on commit 59e1b40

Please sign in to comment.