Change from netlify-cli/2.23.0 to 2.24.0?

With 2.23.0 I could use:

netlify deploy --prod

With 2.24.0 I must add the --dir flag:

netlify deploy --prod --dir .

Otherwise the site becomes inaccessible and this message shows up:

Page Not Found

Looks like you’ve followed a broken link or entered a URL that doesn’t exist on this site.

Solution: I added these lines to the netlify.toml file:

[build]
publish = "."

I did not need these lines before.

Hi, @tmoberg, I’m also curious about this change in behavior. I’ve asked our developers for their input on this and we’ll have another update as soon as we have more information.

Hi @tmoberg , I actually recommend asking these types of questions in the repo for the netlify CLI: Issues · netlify/cli · GitHub

The CLI repo is the source of truth for issues, and it’s also where those not in the community look as well. Our CLI developers watch all those issues as well. Thanks!