mirror of
https://github.com/Mibew/tray.git
synced 2025-01-22 18:10:34 +03:00
Improve packaging script
This commit is contained in:
parent
bf860a32ac
commit
d62109d72b
@ -52,89 +52,12 @@ chdir "$targetFolder";
|
|||||||
|
|
||||||
chdir "locales";
|
chdir "locales";
|
||||||
|
|
||||||
`zip -r ../../release$suffix/mibew${suffix}_cs.zip cs`;
|
foreach $locale qw ( ar be bg ca cs da de el fa fi fr he hr hu id it ka lv nl pl pt-br pt-pt ro ru sp sv th tr ua zh-cn zh-tw ) {
|
||||||
`rm -rf cs`;
|
|
||||||
|
|
||||||
`zip -r ../../release$suffix/mibew${suffix}_fi.zip fi`;
|
`zip -r ../../release$suffix/mibew${suffix}_$locale.zip $locale`;
|
||||||
`rm -rf fi`;
|
`rm -rf $locale`;
|
||||||
|
|
||||||
`zip -r ../../release$suffix/mibew${suffix}_da.zip da`;
|
}
|
||||||
`rm -rf da`;
|
|
||||||
|
|
||||||
`zip -r ../../release$suffix/mibew${suffix}_el.zip el`;
|
|
||||||
`rm -rf el`;
|
|
||||||
|
|
||||||
`zip -r ../../release$suffix/mibew${suffix}_lv.zip lv`;
|
|
||||||
`rm -rf lv`;
|
|
||||||
|
|
||||||
`zip -r ../../release$suffix/mibew${suffix}_fa.zip fa`;
|
|
||||||
`rm -rf fa`;
|
|
||||||
|
|
||||||
`zip -r ../../release$suffix/mibew${suffix}_nl.zip nl`;
|
|
||||||
`rm -rf nl`;
|
|
||||||
|
|
||||||
`zip -r ../../release$suffix/mibew${suffix}_th.zip th`;
|
|
||||||
`rm -rf th`;
|
|
||||||
|
|
||||||
`zip -r ../../release$suffix/mibew${suffix}_ar.zip ar`;
|
|
||||||
`rm -rf ar`;
|
|
||||||
|
|
||||||
`zip -r ../../release$suffix/mibew${suffix}_bg.zip bg`;
|
|
||||||
`rm -rf bg`;
|
|
||||||
|
|
||||||
`zip -r ../../release$suffix/mibew${suffix}_ca.zip ca`;
|
|
||||||
`rm -rf ca`;
|
|
||||||
|
|
||||||
`zip -r ../../release$suffix/mibew${suffix}_de.zip de`;
|
|
||||||
`rm -rf de`;
|
|
||||||
|
|
||||||
`zip -r ../../release$suffix/mibew${suffix}_ru.zip ru`;
|
|
||||||
`rm -rf ru`;
|
|
||||||
|
|
||||||
`zip -r ../../release$suffix/mibew${suffix}_ro.zip ro`;
|
|
||||||
`rm -rf ro`;
|
|
||||||
|
|
||||||
`zip -r ../../release$suffix/mibew${suffix}_hu.zip hu`;
|
|
||||||
`rm -rf hu`;
|
|
||||||
|
|
||||||
`zip -r ../../release$suffix/mibew${suffix}_fr.zip fr`;
|
|
||||||
`rm -rf fr`;
|
|
||||||
|
|
||||||
`zip -r ../../release$suffix/mibew${suffix}_it.zip it`;
|
|
||||||
`rm -rf it`;
|
|
||||||
|
|
||||||
`zip -r ../../release$suffix/mibew${suffix}_ka.zip ka`;
|
|
||||||
`rm -rf ka`;
|
|
||||||
|
|
||||||
`zip -r ../../release$suffix/mibew${suffix}_pl.zip pl`;
|
|
||||||
`rm -rf pl`;
|
|
||||||
|
|
||||||
`zip -r ../../release$suffix/mibew${suffix}_pt-br.zip pt-br`;
|
|
||||||
`rm -rf pt-br`;
|
|
||||||
|
|
||||||
`zip -r ../../release$suffix/mibew${suffix}_sp.zip sp`;
|
|
||||||
`rm -rf sp`;
|
|
||||||
|
|
||||||
`zip -r ../../release$suffix/mibew${suffix}_sv.zip sv`;
|
|
||||||
`rm -rf sv`;
|
|
||||||
|
|
||||||
`zip -r ../../release$suffix/mibew${suffix}_ua.zip ua`;
|
|
||||||
`rm -rf ua`;
|
|
||||||
|
|
||||||
`zip -r ../../release$suffix/mibew${suffix}_he.zip he`;
|
|
||||||
`rm -rf he`;
|
|
||||||
|
|
||||||
`zip -r ../../release$suffix/mibew${suffix}_hr.zip hr`;
|
|
||||||
`rm -rf hr`;
|
|
||||||
|
|
||||||
`zip -r ../../release$suffix/mibew${suffix}_tr.zip tr`;
|
|
||||||
`rm -rf tr`;
|
|
||||||
|
|
||||||
`zip -r ../../release$suffix/mibew${suffix}_zh-cn.zip zh-cn`;
|
|
||||||
`rm -rf zh-cn`;
|
|
||||||
|
|
||||||
`zip -r ../../release$suffix/mibew${suffix}_zh-tw.zip zh-tw`;
|
|
||||||
`rm -rf zh-tw`;
|
|
||||||
|
|
||||||
chdir "..";
|
chdir "..";
|
||||||
`zip -r ../release$suffix/mibew$suffix.zip * .htaccess`;
|
`zip -r ../release$suffix/mibew$suffix.zip * .htaccess`;
|
||||||
|
Loading…
Reference in New Issue
Block a user