Skip to content

Releases and Sourcemaps of different projects get mixed up #482

Closed
@philipooo

Description

I noticed that when you have two project and both project have a release with the same name, the sourcemaps appear in both project releases after uploading them to one of them.

Meta

  • sentry-cli 1.38.1 (win)
  • sentry 9.0.0

Repro

  1. Create two projects e.g. project-1, project-2
  2. Set ENVVAR: SENTRY_AUTH_TOKEN, SENTRY_PROJECT, SENTRY_ORG, SENTRY_URL
  3. Create a release sentry-cli.exe releases new 0.0.0.1
  4. Upload sourcemaps sentry-cli.exe releases files 0.0.0.1 upload-sourcemaps --ext js --ext map ./sourcemaps/ --validate --no-rewrite --url-prefix ~/
  5. Repeate steps 2-4 by using --url-prefix ~/test

Result
project-1 and project-2 contain a release called 0.0.0.1 with the artifacts ~/sourcemap.js.map AND ~/test/sourcemap.js.map

Expected
project-1 and project-2 contain a release called 0.0.0.1. project-1 contains the artifact ~/sourcemap.js.map and project-2 contains the artifact ~/test/sourcemap.js.map

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions