Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
May 22, 2023

Conversation

lforst
Copy link
Member

@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
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
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
Member 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