Releases and Sourcemaps of different projects get mixed up #482
Closed
Description
opened on Feb 11, 2019
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
- Create two projects e.g.
project-1
,project-2
- Set ENVVAR:
SENTRY_AUTH_TOKEN
,SENTRY_PROJECT
,SENTRY_ORG
,SENTRY_URL
- Create a release
sentry-cli.exe releases new 0.0.0.1
- Upload sourcemaps
sentry-cli.exe releases files 0.0.0.1 upload-sourcemaps --ext js --ext map ./sourcemaps/ --validate --no-rewrite --url-prefix ~/
- 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
Metadata
Assignees
Labels
No labels
Activity