File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -72,8 +72,8 @@ public function getReleaseLink( $version ) {
72
72
'plugins/woocommerce ' => 'https://github.com/woocommerce/woocommerce/releases/tag/ ' ,
73
73
);
74
74
75
- // Catpure anything past /woocommerce-monorepo in the current working directory.
76
- preg_match ( '/\/woocommerce-monorepo \/(.+)/ ' , getcwd (), $ path );
75
+ // Catpure anything past /woocommerce in the current working directory.
76
+ preg_match ( '/\/woocommerce\/(.+)/ ' , getcwd (), $ path );
77
77
78
78
if ( ! count ( $ path ) ) {
79
79
throw new InvalidArgumentException ( 'Invalid directory. ' );
@@ -234,6 +234,7 @@ public function format( Changelog $changelog ) {
234
234
$ version = $ entry ->getVersion ();
235
235
$ is_subentry = preg_match ( $ this ->subentry_pattern , $ version , $ subentry );
236
236
$ timestamp = $ entry ->getTimestamp ();
237
+ error_log (print_r ($ version , true ));
237
238
$ release_link = $ this ->getReleaseLink ( $ version );
238
239
239
240
if ( $ is_subentry ) {
You can’t perform that action at this time.
0 commit comments