Skip to content

Commit

Permalink
Fix release process
Browse files Browse the repository at this point in the history
  • Loading branch information
zpqrtbnk committed Jun 13, 2022
1 parent 6ca482a commit 639471b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hz.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,7 @@ function require-dotnet ( $full ) {
require-dotnet-version $result $sdks "3.1" $frameworks "netcoreapp3.1" "Core 3.1.x" $full $allowPrerelease
require-dotnet-version $result $sdks "5.0" $frameworks "net5.0" "5.0.x" $full $allowPrerelease

if ($result.validSdk -and $frameworks.Contains("net5.0")) {
if ($full -and $result.validSdk -and $frameworks.Contains("net5.0")) {
# we found 5.0 and 5.0 is required and ...
$v = $result.sdkInfo.Split(" ", [StringSplitOptions]::RemoveEmptyEntries)[0]
if ($v -lt "5.0.200") { # 5.0.200+ required for proper reproducible builds
Expand Down

0 comments on commit 639471b

Please sign in to comment.