Since the upgrade to sentry-cli v1.44.2 I have been getting an error (error: relative URL without a base) when using upload-sourcemaps.
It used to work just fine in v1.44.1 with the argument: --url-prefix '/home/ubuntu/server' which maps the source map to the node file on server.
Is there some way to make it work again in v1.44.2 with --url-prefix '/home/ubuntu/server' as it's blocking our CI/CD cycle?
Thanks for reporting, we likely regressed as 1.44.2 included a change in how we validate sourcemap URLs. Will investigate.
This is also blocking our CI/CD
is there another url we can use https://sentry.io/get-cli/ to use 1.44.1 instead of the latest?
Workaround for now:
Replace install command
wget -O - https://sentry.io/get-cli/ | bashor curl -sL https://sentry.io/get-cli/ | bash
with
sentry-install.sh
Fix released as v1.44.3
I can confirm that it works with v1.44.3
Thanks for the quick fix!
Most helpful comment
Fix released as
v1.44.3