summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-09-19 15:57:15 +0200
committerFrédéric Guillot <fred@kanboard.net>2014-09-19 15:57:15 +0200
commit082fda68ca52e8ace083256c57fd0da9991cde7b (patch)
treefd3b430a76e6afcc8c04c5314d5b4289f15da4e7
parent0a9a4ba0393d40f3bcba4e4e531bd0d51d2c3aff (diff)
Improve make-archive.sh
-rwxr-xr-xscripts/make-archive.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/make-archive.sh b/scripts/make-archive.sh
index e545b32f..2518f020 100755
--- a/scripts/make-archive.sh
+++ b/scripts/make-archive.sh
@@ -5,6 +5,7 @@ APP="kanboard"
cd /tmp
rm -rf /tmp/$APP /tmp/$APP-*.zip 2>/dev/null
+
git clone --depth 1 https://github.com/fguillot/$APP.git
rm -rf $APP/data/*.sqlite \
@@ -16,7 +17,7 @@ rm -rf $APP/data/*.sqlite \
$APP/README.markdown \
$APP/docs
-sed -i.bak s/master/$VERSION/g $APP/app/common.php && rm -f $APP/app/*.bak
+sed -i.bak s/master/$VERSION/g $APP/app/constants.php && rm -f $APP/app/*.bak
zip -r $APP-$VERSION.zip $APP
mv $APP-$VERSION.zip ~/Devel/websites/$APP