Skip to content

Commit

Permalink
Prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
cmb69 committed Nov 6, 2021
1 parent 3b520a6 commit d785c09
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
8 changes: 5 additions & 3 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
</exec>
<move todir="dist">
<fileset dir="export">
<exclude name=".github/**"/>
<exclude name=".phive/**"/>
<exclude name="tests/**"/>
<exclude name=".eslintrc.json"/>
Expand All @@ -105,6 +106,7 @@
<exclude name="coverage.xml"/>
<exclude name="constants.php"/>
<exclude name="help/template.htm"/>
<exclude name="hooks.stub.php"/>
<exclude name="phpcompatinfo.json"/>
<exclude name="phpstan.neon"/>
<exclude name="README*.md"/>
Expand All @@ -114,13 +116,13 @@
<delete dir="export"/>
<copy file="dist/config/config.php" tofile="dist/config/defaultconfig.php"/>
<copy file="dist/languages/en.php" tofile="dist/languages/default.php"/>
<zip destfile="Advancedform_XH-2.3-dev.zip" basedir="dist" prefix="advancedform/"/>
<zip destfile="Advancedform_XH-2.3.zip" basedir="dist" prefix="advancedform/"/>
<delete dir="dist"/>
</target>

<target name="build-patch" description="builds a distributable update package">
<fail unless="patchee" message="patchee is not defined!"/>
<unzip file="Advancedform_XH-2.3-dev.zip" todir="current"/>
<unzip file="Advancedform_XH-2.3.zip" todir="current"/>
<unzip file="${patchee}" todir="patchee"/>
<copy todir="dist">
<fileset dir="current">
Expand All @@ -135,7 +137,7 @@
<include name="css/stylesheet.css"/>
</fileset>
</delete>
<zip destfile="Advancedform_XH-2.2.3-dev-update-from-2.x.zip" basedir="dist"
<zip destfile="Advancedform_XH-2.3-update-from-2.x.zip" basedir="dist"
includeemptydirs="false"/>
<delete dir="patchee" quiet="true"/>
<delete dir="current" quiet="true"/>
Expand Down
2 changes: 1 addition & 1 deletion classes/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

class Plugin
{
const VERSION = "2.3-dev";
const VERSION = "2.3";

const DB_VERSION = 2;

Expand Down
10 changes: 5 additions & 5 deletions teplad.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@
<!-- the name of the Plugin -->
<name type="plugin">Advancedform_XH</name>
<!-- Date this xml-file was updated, yyyy.mm.dd -->
<date_update>2021-05-06</date_update>
<date_update>2021-11-06</date_update>
<!-- version of Plugin -->
<version>2.2</version>
<version>2.3</version>
<!-- date of publication, yyyy.mm.dd -->
<date_version>2021-05-06</date_version>
<date_version>2021-11-06</date_version>
<!-- the name of the programmer -->
<coder>Christoph M. Becker</coder>
<!-- Categories must be written in lower case. More than one possible, separated by comma without spaces. -->
Expand All @@ -64,7 +64,7 @@
<url>
<!-- URL where you can download the plugin -->
<!-- If there no Download-URL, enter this follows! - <download_url></download_url> -->
<download_url>https://github.com/cmb69/advancedform_xh/releases/2.2</download_url>
<download_url>https://github.com/cmb69/advancedform_xh/releases/2.3</download_url>
<!-- URL of the programmer's website -->
<!-- If there no Website, enter this follows! - <coder_url></coder_url> -->
<coder_url>https://3-magi.net</coder_url>
Expand All @@ -76,7 +76,7 @@
<compatibility>≥ 1.7.0</compatibility>
<!-- minimum version of PHP that is required, i.e. 5.3, 5.6, 7, ≥ 5.6, ... -->
<!-- If there no specification, e.g. for templates, enter this follows! - <php_ver></php_ver> -->
<php_ver>≥ 5.5.0</php_ver>
<php_ver>≥ 5.5.4</php_ver>
<!-- the License for the Plugin, GPLv3, AGPL, LGPL, GPLv2 ... -->
<license>GPLv3</license>
<!-- Description in English is mandatory -->
Expand Down
2 changes: 1 addition & 1 deletion version.nfo
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Advancedform_XH,2.2,2.2,,,https://github.com/cmb69/advancedform_xh/releases/2.2,https://raw.githubusercontent.com/cmb69/advancedform_xh/master/version.nfo
Advancedform_XH,2.3,2.3,,,https://github.com/cmb69/advancedform_xh/releases/2.3,https://raw.githubusercontent.com/cmb69/advancedform_xh/master/version.nfo

0 comments on commit d785c09

Please sign in to comment.