Skip to content
Browse files

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

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

0 comments on commit 7295e77

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