Skip to content
Browse files

Added a shellscript to generate release tar.gz files in temp dir

  • Loading branch information...
1 parent 271cac4 commit 29d0f00a9ff75e3647c1db09172ad606a63cd9ca @aravindavk committed Jan 4, 2012
Showing with 21 additions and 0 deletions.
  1. +21 −0 tools/release
View
21 tools/release
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+if [ $# -ne 1 ]
+then
+ echo "Usage: $0 <version>"
+ exit $E_BADARGS
+fi
+
+rm -rf /tmp/gubbi-kannada-ttf-$1
+mkdir /tmp/gubbi-kannada-ttf-$1
+cp ../ChangeLog ../COPYING ../Gubbi.ttf ../README /tmp/gubbi-kannada-ttf-$1/
+
+rm -rf /tmp/gubbi-kannada-$1
+mkdir /tmp/gubbi-kannada-$1
+cp ../ChangeLog ../COPYING ../Gubbi.sfd ../generate.pe ../Makefile ../README /tmp/gubbi-kannada-$1/
+
+cd /tmp/
+tar -cvzf gubbi-kannada-ttf-$1.tar.gz gubbi-kannada-ttf-$1/
+tar -cvzf gubbi-kannada-$1.tar.gz gubbi-kannada-$1/
+rm -rf gubbi-kannada-ttf-$1
+rm -rf gubbi-kannada-$1

0 comments on commit 29d0f00

Please sign in to comment.
Something went wrong with that request. Please try again.