Permalink
Browse files

Added a shell script that automates packaging releases

  • Loading branch information...
1 parent 4f35c80 commit e5825c4b33c766d03f854480db2fff96299fac9a @oetting oetting committed May 2, 2008
Showing with 16 additions and 0 deletions.
  1. +16 −0 package.sh
View
16 package.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+if [ "$1" == "" ]
+then
+ echo "Usage: package.sh <tag>"
+else
+ mkdir package_tmp
+ rm webgrind-$1.zip
+ cd package_tmp
+ svn export https://webgrind.googlecode.com/svn/tags/$1 webgrind
+ svn export https://webgrind.googlecode.com/svn/wiki webgrind/docs
+ for i in webgrind/docs/*.wiki; do mv "$i" "${i%.wiki}.txt"; done
+ rm webgrind/package.sh
+ zip -r ../webgrind-$1.zip webgrind
+ cd ..
+ rm -rf package_tmp
+fi

0 comments on commit e5825c4

Please sign in to comment.