diff --git a/.github/workflows/release-tag.yml b/.github/workflows/release-tag.yml index 1b13e0a7..5dc6d8bb 100644 --- a/.github/workflows/release-tag.yml +++ b/.github/workflows/release-tag.yml @@ -48,7 +48,6 @@ jobs: STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }} 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')" @@ -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') @@ -141,7 +139,6 @@ 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')" @@ -149,5 +146,4 @@ jobs: env: STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }} KEY_ALIAS: ${{ secrets.KEY_ALIAS }} - KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }} - BUGSNAG_API_KEY: ${{ secrets.BUGSNAG_API_KEY }} \ No newline at end of file + KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }} \ No newline at end of file diff --git a/buildSrc/src/main/java/ProjectConfig.kt b/buildSrc/src/main/java/ProjectConfig.kt index e79a62ec..5aea2cd0 100644 --- a/buildSrc/src/main/java/ProjectConfig.kt +++ b/buildSrc/src/main/java/ProjectConfig.kt @@ -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") } \ No newline at end of file