Skip to content

Commit

Permalink
Fix update script
Browse files Browse the repository at this point in the history
  • Loading branch information
davidxuang committed Apr 7, 2024
1 parent d1aef03 commit e624143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ try {
$upstreamTag = git describe --tag --abbrev=0
Write-Host "Upstream at $upstreamTag"

if (([Version][SemanticVersion]::Parse($localTag)) -le ([Version][SemanticVersion]::Parse($upstreamTag)) -and -not $Debug) {
if (([Version][SemanticVersion]::Parse($localTag)) -ge ([Version][SemanticVersion]::Parse($upstreamTag)) -and -not $Debug) {
return
}

Expand Down

0 comments on commit e624143

Please sign in to comment.