You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: updater/scripts/get-changelog.ps1
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,9 @@ try {
82
82
83
83
if ([string]::IsNullOrEmpty($fullDiff)) {
84
84
Write-Host"No differences found between $OldTag and $NewTag"
85
-
return''
85
+
return
86
+
} else {
87
+
Write-Host"Successfully created a changelog diff - $($fullDiff.Count) lines"
86
88
}
87
89
88
90
# Extract only the added lines (lines starting with + but not ++)
@@ -130,6 +132,7 @@ try {
130
132
$changelog+="`n`n> :warning: **Changelog content truncated by $($oldLength-$changelog.Length) characters because it was over the limit ($limit) and wouldn't fit into PR description.**"
0 commit comments