From 00e4c69df3ec11dfb4e056f2afda904f9e8bc8d2 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Wed, 8 Aug 2007 20:12:15 +0000 Subject: [PATCH] Simple shell script to tar up a release file. --- tools/release.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 tools/release.sh diff --git a/tools/release.sh b/tools/release.sh new file mode 100755 index 0000000..382915b --- /dev/null +++ b/tools/release.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +# Run this from the root directory of Luminotes's source. Note: This will nuke your database! + +ORIG_PYTHONPATH="$PYTHONPATH" +PYTHONPATH=. +python2.5 tools/initdb.py +PYTHONPATH="$ORIG_PYTHONPATH" +cd .. +rm -f luminotes.tar.gz +tar cvfz luminotes.tar.gz --exclude=session --exclude="*.log" --exclude="*.pyc" --exclude=".*" luminotes +cd -