I am writing some scripts that need to pull the latest version of PowerShell (whether or not they are setup in a repo) - similar to tools/download.sh.
It would be great if you published something like tools/currentversion.sh (and currentversion.ps1) that contained:
release=v6.0.0-alpha.18
build=18
Then I could download and run that shell script in my code (at my own risk) and be able to pull the current version.
Other data might be helpful as well (maybe actual package files per platform target and their checksums?) - but at a minimum being able to auto-detect the current version would be very helpful!
I am writing some scripts that need to pull the latest version of PowerShell (whether or not they are setup in a repo) - similar to tools/download.sh.
It would be great if you published something like tools/currentversion.sh (and currentversion.ps1) that contained:
release=v6.0.0-alpha.18
build=18
Then I could download and run that shell script in my code (at my own risk) and be able to pull the current version.
Other data might be helpful as well (maybe actual package files per platform target and their checksums?) - but at a minimum being able to auto-detect the current version would be very helpful!