Skip to content

Commit

Permalink
Update windev.ps1 (#3016)
Browse files Browse the repository at this point in the history
Update the text if no pre-release is found and change the text color from red to yellow to mark this as a warning instead of an error
  • Loading branch information
Marterich authored Nov 7, 2024
1 parent e0889d5 commit aa0b03f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion windev.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function RedirectToLatestPreRelease {
if ($latestRelease) {
$url = "https://github.com/ChrisTitusTech/winutil/releases/download/$latestRelease/winutil.ps1"
} else {
Write-Host 'Unable to determine latest pre-release version.' -ForegroundColor Red
Write-Host 'No pre-release version found. This is most likely because the latest release is a full release and no newer pre-release exists.' -ForegroundColor Yellow
Write-Host "Using latest Full Release"
$url = "https://github.com/ChrisTitusTech/winutil/releases/latest/download/winutil.ps1"
}
Expand Down

0 comments on commit aa0b03f

Please sign in to comment.