diff --git a/.gitignore b/.gitignore index f53fb92..c94d2bc 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /nbproject/private/ +/release/ diff --git a/release.sh b/release.sh new file mode 100755 index 0000000..6eb56a5 --- /dev/null +++ b/release.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +NAME="OpenEstatePhpWrapper" +VERSION="0.5" +PROJECT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" + +rm -Rf $PROJECT_DIR/release +mkdir $PROJECT_DIR/release + +cp -R $PROJECT_DIR/src $PROJECT_DIR/release/$NAME +cd $PROJECT_DIR/release +zip -r $NAME-$VERSION.zip $NAME