Posts the client_version of the Stripe CLI to the backend on login. This allows us to more easily verify if the client is supported before continuing the login flow. This value will be:
semver for future versions of the CLI (whenever this is released so probably >=1.20.1)
nothing for current and previous versions (<1.20.1)
"master" when the source code is run directly with go run or the binary is built from source
Reviewers
cc @stripe/developer-products
Summary
Posts the
client_version
of the Stripe CLI to the backend on login. This allows us to more easily verify if the client is supported before continuing the login flow. This value will be:"master"
when the source code is run directly withgo run
or the binary is built from source