Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #237 from microsoft/andrueastman-patch-1
Browse files Browse the repository at this point in the history
Fixes release script
  • Loading branch information
andrueastman authored Jun 13, 2024
2 parents 73d573b + b377f11 commit d0454da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ValidateProjectVersionUpdated.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Catch {
Exit 1
}

$currentPublishedVersion = [System.Management.Automation.SemanticVersion]$nugetIndex.items[0].upper
$currentPublishedVersion = $nugetIndex.items | Select-Object -ExpandProperty upper | ForEach-Object { [System.Management.Automation.SemanticVersion]$_ } | sort-object | Select-Object -Last 1

# Validate that the version number has been updated.
if ($currentProjectVersion -le $currentPublishedVersion) {
Expand Down

0 comments on commit d0454da

Please sign in to comment.