fix: `mason update` doesn't work
Description
When I run the command mason update. It's not updating mason to the latest version. I am on macOS Ventura 13.2.
Steps To Reproduce
- Check the installed version of the mason.
- Run
mason update - Run
mason --version - mason is not updated
Expected Behavior
mason should be updated to the latest version
Screenshots
Additional Context
Add any other context about the problem here.
So the issue with mason update is, it doesn't work if a user has installed mason using brew.
I am planning to create a package(brew_updater) similar to pub_updater but that will use brew to update an existing dependency. What do you think?
So the issue with
mason updateis, it doesn't work if a user has installed mason usingbrew. I am planning to create a package(brew_updater) similar topub_updaterbut that will use brew to update an existing dependency. What do you think?
Good catch! Yeah that seems reasonable. We’ll also need to have logic to determine whether the mason installation was done through pub or brew in order to determine which mechanism to use for update checks.
Perfect! I will create a PR soon 😃 . Thanks for your input.
+1 does not work for me