Skip to content

fix(core): Account for undefined release name values#251

Merged
lforst merged 3 commits into
mainfrom
lforst-fix-release-name-handling
May 22, 2023
Merged

fix(core): Account for undefined release name values#251
lforst merged 3 commits into
mainfrom
lforst-fix-release-name-handling

Conversation

@lforst
Copy link
Copy Markdown

@lforst lforst commented May 19, 2023

Fixes a bug where Sentry CLI throws if we only pass an empty string as a release value for debug ID upload.

@lforst lforst requested review from AbhiPrasad and Lms24 May 19, 2023 12:37
Luca Forstner added 2 commits May 19, 2023 14:46
useArtifactBundle: true,
});
await cliInstance.releases.uploadSourceMaps(
releaseName ?? "undefined", // unfortunetly this needs a value for now but it will not matter since debug IDs overpower releases anyhow
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we/CLI team going to fix this on the CLI side ?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I think we should. Unfortunately, it will make the interface of Sentry CLI even more complicated.

@lforst lforst merged commit 5548db9 into main May 22, 2023
@lforst lforst deleted the lforst-fix-release-name-handling branch May 22, 2023 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants