Skip to content

Remix upload-sourcemaps script should take org, project and url arguments #8984

Closed
@Lms24

Description

@Lms24

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions