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

Should follow lane_context outputs. eg.SharedValues::IPA_OUTPUT_PATH, GRADLE_APK_OUTPUT_PATH, etc.. #1

Open
dfdgsdfg opened this issue Jun 18, 2024 · 0 comments

Comments

@dfdgsdfg
Copy link

Current

  shorebird_release(platform: "ios")
  upload_to_testflight(ipa: "../build/ios/ipa/fastlane_test.ipa")
  sentry_debug_files_upload(
    auth_token: ENV["SENTRY_AUTH_TOKEN"],
    org_slug: 'org',
    project_slug: 'project',
    dsym_path: '../build/ios/archive/Runner.xcarchive/dSYMs'
  ) 

Should be

  shorebird_release(platform: "ios")
  upload_to_testflight()
  sentry_debug_files_upload(
    auth_token: ENV["SENTRY_AUTH_TOKEN"],
    org_slug: 'org',
    project_slug: 'project',
  ) 

Refs

Fastlane

Android

SharedValue Description
SharedValues::GRADLE_APK_OUTPUT_PATH The path to the newly generated apk file. Undefined in a multi-variant assemble scenario
SharedValues::GRADLE_ALL_APK_OUTPUT_PATHS When running a multi-variant assemble, the array of signed apk's that were generated
SharedValues::GRADLE_FLAVOR The flavor, e.g. MyFlavor
SharedValues::GRADLE_BUILD_TYPE The build type, e.g. Release
SharedValues::GRADLE_AAB_OUTPUT_PATH The path to the most recent Android app bundle
SharedValues::GRADLE_ALL_AAB_OUTPUT_PATHS The paths to the most recent Android app bundles
SharedValues::GRADLE_OUTPUT_JSON_OUTPUT_PATH The path to the most recent output.json file
SharedValues::GRADLE_ALL_OUTPUT_JSON_OUTPUT_PATHS The path to the newly generated output.json files
SharedValues::GRADLE_MAPPING_TXT_OUTPUT_PATH The path to the most recent mapping.txt file
SharedValues::GRADLE_ALL_MAPPING_TXT_OUTPUT_PATHS The path to the newly generated mapping.txt files

Ios

SharedValue Description
SharedValues::IPA_OUTPUT_PATH The path to the newly generated ipa file
SharedValues::PKG_OUTPUT_PATH The path to the newly generated pkg file
SharedValues::DSYM_OUTPUT_PATH The path to the dSYM files
SharedValues::XCODEBUILD_ARCHIVE The path to the xcodebuild archive

Sentry

Flutter

Android

Ios

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

No branches or pull requests

1 participant