flyctl version update not working?

When I input a command, I get

Update available 0.0.366 -> v0.0.368.

When I run flyctl version update I get:

Run "flyctl version update" to upgrade.
/bin/zsh -c
Running automatic update [brew upgrade flyctl]
Running `brew update --auto-update`...
==> Auto-updated Homebrew!
Updated 3 taps (homebrew/cask-versions, homebrew/core and homebrew/cask).

You have 2 outdated formulae installed.
You can upgrade them with brew upgrade
or list them with brew outdated.

Warning: flyctl 0.0.366 already installed

I see from your releases page that the release exists but it hasn’t propagated to homebrew?

1 Like

This happened because of a build issue with Homebrew’s upgrade to Golang 1.19 (our stuff builds on 1.18). Once this PR is merged today, the homebrew release should become available.

You can always get the latest version using the direct installer:

curl -L https://fly.io/install.sh | sh
2 Likes

@jsierles Thanks! After looking at that PR, I feel like I need to learn more about how Homebrew works. I don’t fully understand why the Golang version mismatch caused problems, but that’s just my curiosity.

It looks like 0.0.369 was just released. Unfortunately curl -L https://fly.io/install.sh | sh isn’t updating to this version either.

It’s not a big problem. Just giving feedback.

curl will not update ‘over’ your existing homebrew install. Using curl you’d have to run an additional step of adding ~/.fly/bin to your PATH.

1 Like

Still happening 29 days later. This has happened several times to me. Although we’re now up to v0.0.388. Not a big deal, but means updating will be ignored.