Skip to content

Commit

Permalink
add management script for the creation of ZIP release archives
Browse files Browse the repository at this point in the history
  • Loading branch information
pinhead84 committed Nov 26, 2014
1 parent 357d567 commit c030323
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/nbproject/private/
/release/
12 changes: 12 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c030323

Please sign in to comment.