stripe-cli icon indicating copy to clipboard operation
stripe-cli copied to clipboard

Stripe CLI 1.8.11 asks to "update" to 1.8.10.

Open TimUnderhay opened this issue 3 years ago • 5 comments

Issue

After upgrading to Stripe CLI 1.8.11, the CLI is prompting for an update to 1.8.10, which is obviously a previous release.

$ stripe --version
stripe version 1.8.11

$ stripe listen --forward-to https://some-host
A newer version of the Stripe CLI is available, please update to: v1.8.10

Expected Behavior

It should not prompt to update to a previous release.

Steps to reproduce

See issue section

Environment

Linux

TimUnderhay avatar May 09 '22 22:05 TimUnderhay

@KensingtonTech oh no, how embarrassing 😅 thanks for reporting, we'll fix this soon

suz-stripe avatar May 09 '22 23:05 suz-stripe

@suz-stripe - not limited to Linux either. I've tried this today (10-May-2022) and got the following on Win10, PS v7.2.3, installed (and updated) using scoop:

PS C:\> stripe --version
stripe version 1.8.11
PS C:\> stripe listen --forward-to https://localhost/webhook_listener
A newer version of the Stripe CLI is available, please update to: v1.8.9

PS C:\> scoop status
Scoop is up to date.
Everything is ok!
PS C:\> scoop update stripe
stripe: 1.8.11 (latest version)
Latest versions for all apps are installed! For more information try 'scoop status'

mark-allott avatar May 10 '22 14:05 mark-allott

Must have something to do with 1.8.9 being the most recent release: https://github.com/stripe/stripe-cli/releases. Right now I'm on 1.8.6. The cli was telling me to update to 1.8.11 the other day, but now it's just telling me to update to 1.8.9.

mrweiner avatar May 10 '22 19:05 mrweiner

@mrweiner this is very helpful thank you! We made some tweaks to our release script recently, so I'll dig in and find the issue.

suz-stripe avatar May 10 '22 21:05 suz-stripe

same thing.

⣯ Checking for new versions... A newer version of the Stripe CLI is available, please update to: v1.10.3

when i am already on that version:

➜ stripe --version
stripe version 1.10.3

deadcoder0904 avatar Jul 25 '22 13:07 deadcoder0904