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

Commit

Permalink
Fixes release script
Browse files Browse the repository at this point in the history
  • Loading branch information
andrueastman authored Jun 13, 2024
1 parent f93a5f8 commit 6956ad3
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 = [System.Management.Automation.SemanticVersion]$nugetIndex.items[$nugetIndex.items.Count - 1].upper

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

0 comments on commit 6956ad3

Please sign in to comment.