Skip to content

Commit

Permalink
added script for building release + incremented version number
Browse files Browse the repository at this point in the history
  • Loading branch information
jnioche committed Jan 15, 2010
1 parent 51dd1ef commit d555cff
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=1.4
version=1.5
18 changes: 18 additions & 0 deletions dist.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash
mkdir dist

version=`cat build.properties | sed 's/version=//'`

# cp -rf lib dist/lib
if [ -e doc/javadoc/ ]; then
cp -rf doc/javadoc/ dist/
fi
cp -rf *.txt dist/
cp -rf build.* dist/
cp -rf src/ dist/
cp textclassification*.jar dist/
rm -rf `find dist -name .svn`
mv dist TextClassification-$version
tar -cf TextClassification-$version.tar TextClassification-$version
rm -rf TextClassification-$version
gzip TextClassification-$version.tar

0 comments on commit d555cff

Please sign in to comment.