summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFrédéric Guillot <fguillot@users.noreply.github.com>2014-03-15 18:55:35 -0400
committerFrédéric Guillot <fguillot@users.noreply.github.com>2014-03-15 18:55:35 -0400
commit395a8a5f2a4976b80432a0d71d51d1bad3d01a83 (patch)
treef7bb1b004b55f4fda8efa09cb0e6872a6f7e0fc9 /scripts
parent6d8361987419679d1d57132d94bf08144f3d7528 (diff)
Improve make-archive.sh script
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/make-archive.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/make-archive.sh b/scripts/make-archive.sh
index 586dbbdf..0f8ecb78 100755
--- a/scripts/make-archive.sh
+++ b/scripts/make-archive.sh
@@ -7,7 +7,7 @@ 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/models/base.php && rm -f $APP/models/*.bak
+sed -i.bak s/master/$VERSION/g $APP/common.php && rm -f $APP/*.bak
zip -r $APP-$VERSION.zip $APP
mv $APP-*.zip ~/Devel/websites/$APP
rm -rf /tmp/$APP 2>/dev/null