aboutsummaryrefslogtreecommitdiffstats
path: root/tools/pwg_rel_create.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pwg_rel_create.sh')
-rwxr-xr-xtools/pwg_rel_create.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/pwg_rel_create.sh b/tools/pwg_rel_create.sh
index 74f2ca768..57a9f1cfa 100755
--- a/tools/pwg_rel_create.sh
+++ b/tools/pwg_rel_create.sh
@@ -31,13 +31,16 @@ cd $version
svn export http://piwigo.org/svn/tags/$tag piwigo
-chmod -R a+w piwigo/local
mkdir piwigo/_data
-chmod a+w piwigo/_data
touch piwigo/_data/dummy.txt
mkdir piwigo/upload
+
+zip -r $name-nochmod.zip piwigo
+
+chmod -R a+w piwigo/local
+chmod a+w piwigo/_data
chmod a+w piwigo/upload
zip -r $name.zip piwigo