Skip to content

Commit

Permalink
Small changes to release scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
lvca committed Apr 22, 2015
1 parent b10e390 commit 4fbd032
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _base/script/release_community.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,13 @@ cp ../modules/orientdb-etl/target/orientdb-etl-$1.jar $DIR/lib/
cp ../modules/orientdb-etl/script/oetl.* $DIR/bin/

cd distribution/target/

rm orientdb-community-$1.tar.gz
rm orientdb-community-$1.zip

cd orientdb-community-$1-distribution.dir
rm `find . -name ".DS_Store" -print`
rm `find . -name "*.wal" -print`

tar cvzf ../orientdb-community-$1.tar.gz orientdb-community-$1
zip -X -r -9 ../orientdb-community-$1.zip orientdb-community-$1
5 changes: 5 additions & 0 deletions _base/script/release_enterprise.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,15 @@ cp ../modules/orientdb-lucene/target/orientdb-lucene-$1-dist.jar $DIR/plugins/
cp ../modules/orientdb-etl/target/orientdb-etl-$1.jar $DIR/lib/
cp ../modules/orientdb-etl/script/oetl.* $DIR/bin/

cp ../../orientdb-enterprise/agent/target/agent-$1.zip $DIR/plugins/

cd distribution/target/
rm orientdb-enterprise-$1.tar.gz
rm orientdb-enterprise-$1.zip

cd orientdb-community-$1-distribution.dir
rm `find . -name ".DS_Store" -print`
rm `find . -name "*.wal" -print`

tar cvzf ../orientdb-enterprise-$1.tar.gz orientdb-enterprise-$1
zip -X -r -9 ../orientdb-enterprise-$1.zip orientdb-enterprise-$1

0 comments on commit 4fbd032

Please sign in to comment.