summaryrefslogtreecommitdiff
path: root/scripts/make-archive.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/make-archive.sh')
-rwxr-xr-xscripts/make-archive.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/make-archive.sh b/scripts/make-archive.sh
index 0f8ecb78..0c1d8fee 100755
--- a/scripts/make-archive.sh
+++ b/scripts/make-archive.sh
@@ -6,9 +6,8 @@ APP="kanboard"
cd /tmp
rm -rf /tmp/$APP /tmp/$APP-*.zip 2>/dev/null
git clone git@github.com:fguillot/$APP.git
-rm -rf $APP/data/*.sqlite $APP/.git $APP/.gitignore $APP/scripts $APP/tests $APP/Vagrantfile
-sed -i.bak s/master/$VERSION/g $APP/common.php && rm -f $APP/*.bak
+rm -rf $APP/data/*.sqlite $APP/.git $APP/.gitignore $APP/scripts $APP/tests $APP/Vagrantfile $APP/.*.yml $APP/phpunit.xml $APP/README.markdown $APP/docs
+sed -i.bak s/master/$VERSION/g $APP/app/common.php && rm -f $APP/app/*.bak
zip -r $APP-$VERSION.zip $APP
mv $APP-*.zip ~/Devel/websites/$APP
rm -rf /tmp/$APP 2>/dev/null
-