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 #263 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 f93a5f8 + c3a0e3a commit 6c1e799
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/ValidateProjectVersionUpdated.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ 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 6c1e799

Please sign in to comment.