Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Commit

Permalink
Prepare 0.1.7 release
Browse files Browse the repository at this point in the history
  • Loading branch information
pinepain committed Jun 30, 2017
1 parent cc9ffd5 commit 56b5807
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
<email>[email protected]</email>
<active>yes</active>
</lead>
<date>2017-05-03</date>
<time>16:59:56</time>
<date>2017-06-30</date>
<time>18:55:05</time>
<version>
<release>0.1.6</release>
<api>0.1.6</api>
<release>0.1.7</release>
<api>0.1.7</api>
</version>
<stability>
<release>stable</release>
Expand All @@ -40,8 +40,8 @@
<notes>
Changes to public API and other important changes which may affect end-user:

- Enforce `Value()` method on all `V8\Primitive` values;
- Fix segfault when zero args passed to `V8\FunctionObject::NewInstance()`;
- Require v8 &gt;= 6.1.170;
- Fix segfaults on unclean shutdown;
</notes>
<contents>
<dir name="/">
Expand Down
4 changes: 2 additions & 2 deletions php_v8.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ extern zend_module_entry php_v8_module_entry;
#endif

#ifndef PHP_V8_VERSION
#define PHP_V8_VERSION "0.2.0"
#define PHP_V8_VERSION "0.1.7"
#endif

#ifndef PHP_V8_REVISION
#define PHP_V8_REVISION "dev"
#define PHP_V8_REVISION "release"
#endif


Expand Down
6 changes: 3 additions & 3 deletions scripts/refresh-package-xml.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@
if (!preg_match('/#define PHP_V8_VERSION "(.+)"/', $header, $matches)) {
throw new RuntimeException("Unable to get release version");
}

$version = $matches[1];
var_dump($version);

$package = preg_replace("/\<release\>\d+\.\d+.\d+.+\<\/release\>/", '<release>' . $version . '</release>', $package);
$package = preg_replace("/\<api\>\d+\.\d+.\d+.+\<\/api\>/", '<api>' . $version . '</api>', $package);
$package = preg_replace("/\<release\>\d+\.\d+.\d+\<\/release\>/", '<release>' . $version . '</release>', $package);
$package = preg_replace("/\<api\>\d+\.\d+.\d+\<\/api\>/", '<api>' . $version . '</api>', $package);


file_put_contents($new_package_filename, $package);

0 comments on commit 56b5807

Please sign in to comment.