Skip to content

Commit

Permalink
v1.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhitsolutions committed Oct 15, 2021
1 parent 4b675b0 commit c01b179
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log for PSReleaseTools

## v1.11.0

+ Modified private function `getCode` to get latest release sorting on the published date.

## v1.10.0

+ Help file cleanup.
Expand Down
Binary file modified PSReleaseTools.psd1
Binary file not shown.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,4 +225,4 @@ If you have suggestions or encounter problems, please post an issue in this GitH

[<kbd>:heart:Sponsor</kbd>](https://paypal.me/jdhitsolutions?locale.x=en_US)

Last Updated 2021-08-10 23:37:46Z
Last Updated 2021-10-15 15:21:21Z
4 changes: 2 additions & 2 deletions functions/private.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ function GetData {

if ($Preview) {
Write-Verbose "[$((Get-Date).TimeofDay) $($MyInvocation.MyCommand)] Getting latest preview"
($get).where( { $_.prerelease }) | Select-Object -First 1
($get).where( { $_.prerelease }) | Sort-Object -property Published_At -descending | Select-Object -First 1
}
else {
Write-Verbose "[$((Get-Date).TimeofDay) $($MyInvocation.MyCommand)] Getting latest stable release"
($get).where( { -NOT $_.prerelease }) | Select-Object -First 1
($get).where( { -NOT $_.prerelease }) | Sort-Object -property Published_At -descending | Select-Object -First 1
}
}

Expand Down

0 comments on commit c01b179

Please sign in to comment.