Skip to content

Commit

Permalink
Fix version extraction in Cygwin update script to remove HTML tags
Browse files Browse the repository at this point in the history
  • Loading branch information
robmoss2k committed Dec 17, 2024
1 parent d5d5b88 commit 5e68ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion automatic/cygwin/update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function global:au_GetLatest {
$result = @{
URL64 = $url | Where-Object {$_ -match 'x86_64' } | Select-Object -First 1
ReleaseNotes = $rn.href
Version = $rn.innerText
Version = $rn.outerHTML -replace '<[^>]+>'
PackageName = 'Cygwin'
}

Expand Down

0 comments on commit 5e68ac4

Please sign in to comment.