-
-
Notifications
You must be signed in to change notification settings - Fork 319
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
Rework upload symbol script #4328
Comments
@armcknight, do you use the |
Yep, that's fair too, we could consider removing it. It's been a long time since I needed something symbolicated for testing while debugging. |
We remove this script because there is a risk of accidentially committing tokens to GH, and we're not using this script anymore. Fixes GH-4328
Excellent. I removed it: #4398. |
Description
We currently require an auth token to be provided, and caution against committing the patch to apply to get the symbol upload script to avoid committing auth tokens to the repo:
sentry-cocoa/develop-docs/README.md
Lines 86 to 93 in e1c3819
sentry-cocoa/scripts/upload-dsyms-with-xcode-build-phase.sh
Lines 4 to 7 in e1c3819
This can now be done using environment variables, so we should rework the script and leave it in the build phases. See the script I wrote for the SE iOS demo: https://github.com/sentry-demos/ios/blob/master/upload-symbols.sh
Ideally, we create a new build config for debug builds that upload symbols. This way, we don't upload a large volume from the standard debug config. We can also configure it to always upload for release builds.
This way developers can freely upload symbols as needed with minimal changes to the git working index.
The text was updated successfully, but these errors were encountered: