Closed digitalsleuth closed 11 months ago
I have updated the Kibana and Elasticsearch version checking manually. Sorry...it is my first pull request. ;-)
I had to skip the other small file changes. There is a difference between first install and updating the dependencies...currently it is nicely aligned.
Thank you!
All good! Thanks for taking a look into it!
This PR modifies the enumeration of the available "versions" and applies Semantic Versioning rules to more accurately determine the latest version.
Currently, when running the script, both Kibana and Elasticsearch come back with the latest version of "8.9.2", when the latest (not tagged as latest, but most recent) version is actually 8.11.1 (at the time of writing). This is due to PowerShell sorting by individual character values first (ie: 8.9.2 > 8.11.1 because [char]9 > [char]1) instead of total numerical values ([int]9 < [int]11).