We have automatic tools to download latest official release of PowerShell Core and 6.1.4 is tagged as latest instead of 6.2.1. Please update the tags.
Edit: Or 6.1.4 is the latest official release of PS Core?


I have the same problem too. (https://github.com/stknohg/PSCoreUpdate/issues/2)
Please update the latest release.
Probably not something they can really change after-the-fact; afaik that's just built into how Github handles releases. It's not looking at the release name. Both 6.2.1 and 6.1.4 are servicing releases handling the recently-filed CVE issues for 6.2 and 6.1; both were updated as both are still officially supported. I'm assuming the 6.2.1 was released first, probably only by a minute or two, but because the 6.1.4 was released after it, Github flags it as the "latest release".
From GitHub API doucument,
The latest release is the most recent non-prerelease, non-draft release, sorted by the
created_atattribute. Thecreated_atattribute is the date of the commit used for the release, and not the date when the release was drafted or published.
Certainly we may not be able to do anything...
The best thing to do, I think, would be to ask that the process for handling releases like this is to commit and release the earlier version first.
What do you think, @TravisEz13?
@vexx32 That would be nice, otherwise I would have to rewrite update cmdlet and go through painfull change management process in my org
@stknohg Thanks for the link, good read.
We should update the 6.2.1 tag date
https://stackoverflow.com/questions/22822586/swap-latest-release-on-github
/cc @TravisEz13
@iSazonov Force pushing a tag is technically very bad. We have agreement on this thread to do it, but anyone that sync'ed the tag, will now have to deal with having a different version of history for that tag.
cc @adityapatwardhan @SteveL-MSFT
We can try to update the process to prevent this is the future.
Is "Latest release" only GitHub feature? In the case we could ask GitHub team to enhance the feature for such cases.
The issue has been fixed by deleting and re-pushing the tag. If you are seeing errors on git fetch --tags then please use git fetch --tags --force.
Most helpful comment
The issue has been fixed by deleting and re-pushing the tag. If you are seeing errors on
git fetch --tagsthen please usegit fetch --tags --force.