Sentry-cli --strip-prefix does not seem to work


#1
sentry-cli releases files testCLIRelease upload-sourcemaps . --ext map --ignore node_modules --strip-prefix '~/dist/' --rewrite --strip-prefix 'dist'

–strip-prefix seems to have no effect whatsoever

artifacts are being uploaded as:
~/dist/10.a5b01fab658e826851b0.map
I want them to be uploaded as:
~/10.a5b01fab658e826851b0.map

I assumed that --strip-prefix ~/dist/ would solve this issue. I have not found anything in the docs to indicate this is wrong.

I have even taken a peek at the sentry-cli source code: https://github.com/getsentry/sentry-cli/blob/master/src/commands/releases.rs#L762

can anybody offer some suggestions?
sentry-cli v1.37.0


#2

anyone?