This check currently prevents the notification to update the CLI from appearing if the installed version and the newest version don't have the same major version number 🤦 .
The logic was most likely copied from here in Functions, and shouldn't be needed for SWA. Func core tools follows a different versioning method, but the SWA CLI follows semver.
Should increase the % of users on v1 of the CLI, which will allow us to remove/improve a lot of code.