This repository was archived by the owner on Nov 25, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 259
259
</then >
260
260
</if >
261
261
262
+ <phingcall target =" add_update_triggers" >
263
+ <property name =" input_folder" value =" ${git.local_repository}/dist/php" />
264
+ <property name =" output_folder" value =" ${upgrade_export}/UPGRADE" />
265
+ <property name =" version" value =" ${build.version}" />
266
+ </phingcall >
267
+
262
268
</target >
263
269
264
270
<target name =" zip" description =" Package as Zip archive" >
325
331
><fileset dir =" ${build.working_folder}/upgrade/export/" defaultexcludes =" false" ><include name =" */**" /></fileset ></zip >
326
332
</target >
327
333
334
+ <target name =" add_update_triggers" description =" Look for pre/post triggers and append them to the package" >
335
+ <copy todir =" ${output_folder}" verbose =" true" >
336
+ <fileset dir =" ${input_folder}" >
337
+ <include name =" ${version}-*-*.php" />
338
+ </fileset >
339
+ <mapper type =" regexp" from =" ^(.*)-(.*)-(.*).php" to =" PHP--\3-\2.php" />
340
+ </copy >
341
+ </target >
342
+
328
343
<target name =" build_external_plugins" >
329
344
<foreach param =" filename" absparam =" absfilename" target =" zip_plugin" >
330
345
<fileset dir =" ${build.working_folder}/ext_plugins" >
You can’t perform that action at this time.
0 commit comments