Closed
Description
Problem Statement
Currently, the upload-sourcemaps
doesn’t take arguments for org
, project
and url
. source maps upload is configured by writing all these values into .sentryclirc
alongside the auth token. Because of the auth token, .sentryclirc
shouldn't be commited to the users' repos.
The consequence is that users not only have to add the auth token as an env variable in their CI setup but also env variables for project, org (and URL if self-hosted). Also local development is more complicated this way.
Solution Brainstorm
It's safe to commit org, project and (if self-hosted) url to repos. So let's adjust the script to take these parameters as arguments.