PowerShell / PowerShellEditorServices

A common platform for PowerShell development support in any editor or application!
MIT License
623 stars 214 forks source link

Send `GitCommitId` over `GetVersionHandler` #1965

Closed andyleejordan closed 1 year ago

andyleejordan commented 1 year ago

So the client can skip updates for daily and dev builds. Also clean up a little more, the commit ID was not actually being used in the rest of the codebase, and the DisplayVersion was dumb.

Also fix a bug that luckily didn't make it into the release where the Windows PowerShell version was sending its full self, i.e. 5.1.22621.436 which cannot be cast to a SemVer.

Required for https://github.com/PowerShell/vscode-powershell/pull/4306.