Skip to content

Commit

Permalink
Buildscript für deutsches Komplettpaket (Du und Sie) für 3.3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Schnegelberger committed Jun 5, 2024
1 parent 2aeb257 commit ae3516e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions build/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

<project name="phpBB" description="The phpBB forum software" default="all" basedir="../">
<!-- a few settings for the build -->
<property name="newversion" value="3.3.12" />
<property name="prevversion" value="3.3.11" />
<property name="olderversions" value="3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.1.5, 3.1.6, 3.1.7, 3.1.7-pl1, 3.1.8, 3.1.9, 3.1.10, 3.1.11, 3.1.12, 3.2.0, 3.2.1, 3.2.2, 3.2.3, 3.2.4, 3.2.5, 3.2.6, 3.2.7, 3.2.8, 3.2.9, 3.2.10, 3.2.11, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.3.4, 3.3.5, 3.3.6, 3.3.7, 3.3.8, 3.3.9, 3.3.10, 3.3.12-RC1" />
<property name="newversion" value="3.3.12-deutsch" />
<property name="prevversion" value="3.3.11-deutsch" />
<property name="olderversions" value="3.3.0-deutsch, 3.3.1-deutsch, 3.3.2-deutsch, 3.3.3-deutsch, 3.3.4-deutsch, 3.3.5-deutsch, 3.3.6-deutsch, 3.3.7-deutsch, 3.3.8-deutsch, 3.3.9-deutsch, 3.3.10-deutsch" />
<!-- no configuration should be needed beyond this point -->

<property name="oldversions" value="${olderversions}, ${prevversion}" />
<property name="versions" value="${oldversions}, ${newversion}" />

<!-- These are the main targets which you will probably want to use -->
<target name="all" depends="clean,prepare,composer,test,docs,package" />
<target name="all" depends="clean,prepare,composer,package" />
<target name="build" depends="clean,prepare,composer,test,docs" />

<target name="prepare">
Expand Down Expand Up @@ -313,7 +313,10 @@
<then>
<exec dir="${dir}/ext" command="mkdir phpbb" passthru="true" />

<exec dir="${dir}/ext/phpbb/viglink" command="mv language ../tmp_language" passthru="true" />
<exec dir="${dir}/ext/phpbb" command="git clone https://github.com/phpbb-extensions/viglink.git viglink" passthru="true" checkreturn="true" />
<exec dir="${dir}/ext/phpbb/viglink" command="mv ../tmp_language/* language" passthru="true" />
<exec dir="${dir}/ext/phpbb" command="rm -r tmp_language" passthru="true" />
<if>
<equals arg1="${revision}" arg2="HEAD" trim="true" />
<then>
Expand Down
2 changes: 1 addition & 1 deletion build/package.php
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@
// Set update info with file structure to update
$update_info = array(
\'version\' => array(\'from\' => \'' . str_replace('_to_', '', $package->old_packages[$_package_name]) . '\', \'to\' => \'' . $package->get('new_version_number') . '\'),
\'version\' => array(\'from\' => \'' . str_replace(array('_to_', '-deutsch'), '', $package->old_packages[$_package_name]) . '\', \'to\' => \'' . str_replace('-deutsch', '', $package->get('new_version_number')) . '\'),
';

if (count($file_contents['all']))
Expand Down

0 comments on commit ae3516e

Please sign in to comment.