Open AScott-WWF opened 4 months ago
Thanks! My time has been taken up with other projects as of late but I will be picking this up again soon. I have some ideas to make some functions for these common patterns so that we won't need such lengthy scripts in future!
FYI: I have just updated the script due to an issue discovered when the new version 18.4 was released yesterday - this update means it now works for 2, 3 or 4 part version numbers
@DanGough Microsoft appeared to have updated the web page that this script reads, so this code was no longer working, I have updated the code above, so this now works again. Same issue as #74
Similar in behaviour to the [New App Request] Microsoft OLE DB Driver for SQL Server This new app request is to replace the Evergreen version - as Evergreen also requires the Microsoft fwlink addresses updating in the JSON each time Microsoft release a new version (not really the point of EverGreen), so with NeverGreen we can scrape the webpage and always have the latest version of each "ring" (v17.x & v18.x) This reads the Release Notes for Microsoft ODBC Driver for SQL Server on Windows, returns all versions, then refines this list to the latest for each ring before creating language specific URLs for each architecture. Note: ARM64 msi is not available for earlier v17.x builds
N.B. This also makes use of the ReleaseDate Parameter introduced in the [Enhancement] Microsoft SSMS
This is now probably the most complex NeverGreen script to date 😉: Script: