aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/pwg_rel_create.sh13
1 files changed, 8 insertions, 5 deletions
diff --git a/tools/pwg_rel_create.sh b/tools/pwg_rel_create.sh
index 7fd1acc2c..7db54a236 100755
--- a/tools/pwg_rel_create.sh
+++ b/tools/pwg_rel_create.sh
@@ -42,17 +42,20 @@ chmod a+w $name/include/mysql.inc.php
# | xargs grep -l 'branch 1.7' \
# | xargs perl -pi -e "s/branch 1.7/${version}/g"
-cd /tmp/$version
+cd /tmp
for ext in zip tar.gz tar.bz2
do
- file=$name.$ext
+ file=$version/$name.$ext
if [ -f $file ]
then
rm $name
fi
done
-zip -r $name.zip ../$name
-tar -czf $name.tar.gz ../$name
-tar -cjf $name.tar.bz2 ../$name
+zip -r $version/$name.zip $name
+tar -czf $version/$name.tar.gz $name
+tar -cjf $version/$name.tar.bz2 $name
+
+cd /tmp/$version
+md5sum p* >MD5SUMS