File tree 2 files changed +14
-10
lines changed
2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 1
1
# 23.6.2
2
2
3
- ElectronNET.API:
3
+ ## ElectronNET.API
4
4
5
- * Fixed escaping of URL #735 @cosmo0
6
- * Changed ` ZoomFactor ` type #754 @Yuvix25
5
+ * Fixed escaping of URL ( #735 ) @cosmo0
6
+ * Changed ` ZoomFactor ` type from ` int ` to ` double ` ( #754 ) @Yuvix25
7
7
8
- ElectronNET.CLI:
8
+ ## ElectronNET.CLI
9
9
10
10
* (none)
11
11
12
- Infrastructure:
12
+ ## Infrastructure
13
13
14
14
* Changed build system to NUKE #757 @FlorianRappl
15
15
* Updated target framework for host project #753 @r-pankevicius
16
16
17
17
# 23.6.1
18
18
19
- ElectronNET.CLI:
19
+ ## ElectronNET.CLI
20
20
21
21
* New Feature: Upgrade to .NET 6 support
22
22
23
- ElectronNET.API:
23
+ ## ElectronNET.API
24
24
25
25
* New Feature: Native Electron 23.2.0 support, but not all new API features included (we search contributors)
26
26
* New Feature: Upgrade to .NET 6 support
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ private IReadOnlyList<ReleaseNotes> ParseComplexFormat(string[] lines)
85
85
86
86
// Parse content.
87
87
var notes = new List < string > ( ) ;
88
+
88
89
while ( true )
89
90
{
90
91
// Sanity checks.
@@ -93,13 +94,14 @@ private IReadOnlyList<ReleaseNotes> ParseComplexFormat(string[] lines)
93
94
break ;
94
95
}
95
96
96
- if ( lines [ lineIndex ] . StartsWith ( "#" , StringComparison . OrdinalIgnoreCase ) )
97
+ if ( lines [ lineIndex ] . StartsWith ( "# " , StringComparison . OrdinalIgnoreCase ) )
97
98
{
98
99
break ;
99
100
}
100
101
101
102
// Get the current line.
102
- var line = ( lines [ lineIndex ] ?? string . Empty ) . Trim ( '*' ) . Trim ( ) ;
103
+ var line = ( lines [ lineIndex ] ?? string . Empty ) . Trim ( ) ;
104
+
103
105
if ( ! string . IsNullOrWhiteSpace ( line ) )
104
106
{
105
107
notes . Add ( line ) ;
@@ -127,7 +129,8 @@ private IReadOnlyList<ReleaseNotes> ParseSimpleFormat(string[] lines)
127
129
}
128
130
129
131
// Trim the current line.
130
- var line = ( lines [ lineIndex ] ?? string . Empty ) . Trim ( '*' , ' ' ) ;
132
+ var line = ( lines [ lineIndex ] ?? string . Empty ) ;
133
+
131
134
if ( string . IsNullOrWhiteSpace ( line ) )
132
135
{
133
136
lineIndex ++ ;
@@ -137,6 +140,7 @@ private IReadOnlyList<ReleaseNotes> ParseSimpleFormat(string[] lines)
137
140
// Parse header.
138
141
var semVer = SemVersion . Zero ;
139
142
var version = SemVersion . TryParse ( lines [ lineIndex ] , out semVer ) ;
143
+
140
144
if ( ! version )
141
145
{
142
146
throw new BuildAbortedException ( "Could not parse version from release notes header." ) ;
You can’t perform that action at this time.
0 commit comments