This repository was archived by the owner on Mar 29, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 2626 <email >pinepain@gmail.com</email >
2727 <active >yes</active >
2828 </lead >
29- <date >2017-05-03 </date >
30- <time >16:59:56 </time >
29+ <date >2017-06-30 </date >
30+ <time >18:55:05 </time >
3131 <version >
32- <release >0.1.6 </release >
33- <api >0.1.6 </api >
32+ <release >0.1.7 </release >
33+ <api >0.1.7 </api >
3434 </version >
3535 <stability >
3636 <release >stable</release >
4040 <notes >
4141 Changes to public API and other important changes which may affect end-user:
4242
43- - Enforce `Value()` method on all `V8\Primitive` values ;
44- - Fix segfault when zero args passed to `V8\FunctionObject::NewInstance()` ;
43+ - Require v8 > = 6.1.170 ;
44+ - Fix segfaults on unclean shutdown ;
4545 </notes >
4646 <contents >
4747 <dir name =" /" >
Original file line number Diff line number Diff line change @@ -36,11 +36,11 @@ extern zend_module_entry php_v8_module_entry;
3636#endif
3737
3838#ifndef PHP_V8_VERSION
39- #define PHP_V8_VERSION "0.2.0 "
39+ #define PHP_V8_VERSION "0.1.7 "
4040#endif
4141
4242#ifndef PHP_V8_REVISION
43- #define PHP_V8_REVISION "dev "
43+ #define PHP_V8_REVISION "release "
4444#endif
4545
4646
Original file line number Diff line number Diff line change 112112if (!preg_match ('/#define PHP_V8_VERSION "(.+)"/ ' , $ header , $ matches )) {
113113 throw new RuntimeException ("Unable to get release version " );
114114}
115-
116115$ version = $ matches [1 ];
116+ var_dump ($ version );
117117
118- $ package = preg_replace ("/\<release\>\d+\.\d+.\d+.+ \<\/release\>/ " , '<release> ' . $ version . '</release> ' , $ package );
119- $ package = preg_replace ("/\<api\>\d+\.\d+.\d+.+ \<\/api\>/ " , '<api> ' . $ version . '</api> ' , $ package );
118+ $ package = preg_replace ("/\<release\>\d+\.\d+.\d+\<\/release\>/ " , '<release> ' . $ version . '</release> ' , $ package );
119+ $ package = preg_replace ("/\<api\>\d+\.\d+.\d+\<\/api\>/ " , '<api> ' . $ version . '</api> ' , $ package );
120120
121121
122122file_put_contents ($ new_package_filename , $ package );
You can’t perform that action at this time.
0 commit comments