File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ public static class VersionUtil
6868
6969 foreach ( var line in lines )
7070 {
71- if ( ! foundHeader && ( changelogHeader == null || line . Contains ( changelogHeader ?? "## Version" ) ) )
71+ if ( ! foundHeader && ( changelogHeader == null || Regex . IsMatch ( line , changelogHeader ) ) )
7272 {
7373 foundHeader = true ;
7474 continue ;
Original file line number Diff line number Diff line change @@ -400,7 +400,7 @@ TaskRunner
400400 var ipaFilePath = outputFiles . FirstOrDefault ( f => f . EndsWith ( ".ipa" ) ) ;
401401 var aabFilePath = outputFiles . FirstOrDefault ( f => f . EndsWith ( ".aab" ) ) ;
402402 var version = Utils . GetChangelogVersion ( RootDirectory , ChangelogHeaderPrefix , VersionPattern ) ;
403- var releaseNote = Utils . GetChangelogNotes ( RootDirectory , $ "{ ChangelogHeaderPrefix } { VersionPattern } ] - [0-9]+-[0-9]+-[0-9]+ ") ;
403+ var releaseNote = Utils . GetChangelogNotes ( RootDirectory , $ "## \\ [ { VersionPattern } \\ ] ") ;
404404 var isIOSDelivery = ipaFilePath != null ;
405405 var isAndroidDelivery = aabFilePath != null ;
406406
You can’t perform that action at this time.
0 commit comments