This is a screenshot from my terminal.
It asks me to update fly. But does not update fly when I run fly version update
.
What am I missing here?
This is a screenshot from my terminal.
It asks me to update fly. But does not update fly when I run fly version update
.
What am I missing here?
That might be a bug in the updater code. We’ll look into it, but in the meanwhile you could try
brew reinstall flyctl
or
brew uninstall flyctl
brew install flyctl
to force an upgrade.
It looks like homebrew isn’t fetching the updated formula. Can you try running
brew update && brew upgrade flyctl
I tend to run into this issue fairly frequently and just now found this old thread. Running the update-and-upgrade command doesn’t help, likely because at the time of writing, Homebrew lists an old version (0.366 instead of 0.368) as the latest.
homebrew recently switched to Go 1.19, which isn’t compatible yet with the latest releases of flyctl. That’s delaying releases - more info here: flyctl 0.0.367 by flyio-buildbot · Pull Request #107536 · Homebrew/homebrew-core · GitHub
It looks like this will be resolved soon, but we’ll also be looking into making flyctl build with Go 1.19.