Skip to content

Commit

Permalink
Remove unused bugsnag configs
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rken committed Jul 6, 2023
1 parent ab0bb38 commit 4dae873
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ jobs:
STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }}

This comment has been minimized.

Copy link
@DizzyG88

DizzyG88 Jul 14, 2023

Thanks

KEY_ALIAS: release
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
BUGSNAG_API_KEY: ${{ secrets.BUGSNAG_API_KEY }}

- name: Assemble production APK
if: "!contains(steps.tagger.outputs.tag, '-beta')"
Expand All @@ -58,7 +57,6 @@ jobs:
STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }}
KEY_ALIAS: release
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
BUGSNAG_API_KEY: ${{ secrets.BUGSNAG_API_KEY }}

- name: Create pre-release
if: contains(steps.tagger.outputs.tag, '-beta')
Expand Down Expand Up @@ -141,13 +139,11 @@ jobs:
STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }}
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
BUGSNAG_API_KEY: ${{ secrets.BUGSNAG_API_KEY }}

- name: Assemble production and upload to Google Play
if: "!contains(steps.tagger.outputs.tag, '-beta')"
run: bundle exec fastlane production
env:
STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }}
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
BUGSNAG_API_KEY: ${{ secrets.BUGSNAG_API_KEY }}
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}

This comment has been minimized.

Copy link
@DizzyG88

DizzyG88 Jul 14, 2023

Head

10 changes: 0 additions & 10 deletions buildSrc/src/main/java/ProjectConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,4 @@ fun com.android.build.api.dsl.SigningConfig.setupCredentials(
keyPassword = props.getProperty("release.keyPassword")
}
}
}

fun getBugSnagApiKey(
propertiesPath: File?
): String? {
val bugsnagProps = Properties().apply {
propertiesPath?.takeIf { it.canRead() }?.let { load(FileInputStream(it)) }
}
println("Bugsnag API key: $propertiesPath (canRead:${propertiesPath?.canRead()})")
return System.getenv("BUGSNAG_API_KEY") ?: bugsnagProps.getProperty("bugsnag.apikey")
}

0 comments on commit 4dae873

Please sign in to comment.