Sentry-cli: Cannot run "releases files" with release name starting with "list..."

Created on 16 Mar 2020  路  3Comments  路  Source: getsentry/sentry-cli

I've noticed that when I run the following command:

sentry-cli releases files VERSION upload-sourcemaps /path/to/sourcemaps

with VERSION=listing-form@123,

I get the following error:

error: The subcommand 'listing@123' wasn't recognized
    Did you mean 'list'

I guess that this is because my VERSION string starts with "list".

blocked bug

All 3 comments

Thanks! Can confirm that it's an issue with parsing args by clap. We'll get it fixed soon.

Reported directly to clap-rs repo: https://github.com/clap-rs/clap/issues/1750

Was this page helpful?
0 / 5 - 0 ratings

Related issues

liuaaaddxiaoer picture liuaaaddxiaoer  路  5Comments

faceleg picture faceleg  路  5Comments

okon3 picture okon3  路  4Comments

BioPhoton picture BioPhoton  路  3Comments

sameoldmadness picture sameoldmadness  路  5Comments