Skip to content
Permalink
Browse files

Automatically set module version number when building release (Bug #1…

…4240).
  • Loading branch information...
yunosh committed Feb 9, 2016
1 parent 4c82bee commit aab069b75f7b4119160554ec896437d2df8d342b
Showing with 6 additions and 4 deletions.
  1. +1 −1 framework/lz4/horde_lz4.h
  2. +5 −3 framework/lz4/package.xml
@@ -4,7 +4,7 @@
extern zend_module_entry horde_lz4_module_entry;
#define phpext_horde_lz4_ptr &horde_lz4_module_entry

#define HORDE_LZ4_EXT_VERSION "1.0.8"
#define HORDE_LZ4_EXT_VERSION "@version@"

#ifdef PHP_WIN32
# define PHP_HORDE_LZ4_API __declspec(dllexport)
@@ -21,7 +21,7 @@
</stability>
<license uri="http://opensource.org/licenses/MIT">MIT (Expat)</license>
<notes>
*
* [jan] Fix module version number (Bug #14240).
</notes>
<contents>
<dir name="/">
@@ -41,7 +41,9 @@
<file name="config.m4" role="src" />
<file name="CREDITS" role="doc" />
<file name="horde_lz4.c" role="src" />
<file name="horde_lz4.h" role="src" />
<file name="horde_lz4.h" role="src">
<tasks:replace from="@version@" to="version" type="package-info" />
</file>
<file name="LICENSE" role="doc" />
<dir name="lib">
<file name="LICENSE" role="doc" />
@@ -241,7 +243,7 @@
<date>2016-02-01</date>
<license uri="http://opensource.org/licenses/MIT">MIT (Expat)</license>
<notes>
*
* [jan] Fix module version number (Bug #14240).
</notes>
</release>
</changelog>

0 comments on commit aab069b

Please sign in to comment.
You can’t perform that action at this time.