#!/bin/sh
PRODUCT="PleiadesGeocoder"
NUM=$1
DIR="$PRODUCT"

svn export http://icon.stoa.org/svn/pleiades/$PRODUCT/tags/rel-$NUM $DIR
tar czf $PRODUCT-$NUM.tar.gz $DIR
echo `md5sum $PRODUCT-$NUM.tar.gz` > $PRODUCT-$NUM.tar.gz.MD5.txt
echo `sha1sum $PRODUCT-$NUM.tar.gz` > $PRODUCT-$NUM.tar.gz.SHA1.txt

