mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
update release script to avoid the ../ warning in zip
added md5sum in the script git-svn-id: http://piwigo.org/svn/trunk@2200 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user