Rename app package to authenticator (#305)

Co-authored-by: Álison Fernandes <vvolkgang@users.noreply.github.com>
This commit is contained in:
Patrick Honkonen 2025-02-12 17:13:07 -05:00 committed by GitHub
parent 4eb4d5f256
commit 72ac8d3699
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
467 changed files with 27 additions and 22 deletions

View File

@ -191,7 +191,7 @@ jobs:
versionName:${{ inputs.version-name || '' }}
regex='versionName = "([^"]+)"'
if [[ "$(cat app/build.gradle.kts)" =~ $regex ]]; then
if [[ "$(cat authenticator/build.gradle.kts)" =~ $regex ]]; then
VERSION_NAME="${BASH_REMATCH[1]}"
fi
echo "Version Name: ${VERSION_NAME}" >> $GITHUB_STEP_SUMMARY
@ -220,7 +220,7 @@ jobs:
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: com.bitwarden.authenticator.aab
path: app/build/outputs/bundle/release/com.bitwarden.authenticator-release.aab
path: authenticator/build/outputs/bundle/release/com.bitwarden.authenticator-release.aab
if-no-files-found: error
- name: Upload release .apk artifact
@ -228,19 +228,19 @@ jobs:
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
name: com.bitwarden.authenticator.apk
path: app/build/outputs/apk/release/com.bitwarden.authenticator-release.apk
path: authenticator/build/outputs/apk/release/com.bitwarden.authenticator-release.apk
if-no-files-found: error
- name: Create checksum file for Release AAB
if: ${{ matrix.variant == 'aab' }}
run: |
sha256sum "app/build/outputs/bundle/release/com.bitwarden.authenticator-release.aab" \
sha256sum "authenticator/build/outputs/bundle/release/com.bitwarden.authenticator-release.aab" \
> ./authenticator-android-aab-sha256.txt
- name: Create checksum for release .apk artifact
if: ${{ matrix.variant == 'apk' }}
run: |
sha256sum "app/build/outputs/apk/release/com.bitwarden.authenticator-release.apk" \
sha256sum "authenticator/build/outputs/apk/release/com.bitwarden.authenticator-release.apk" \
> ./authenticator-android-apk-sha256.txt
- name: Upload .apk SHA file for release

View File

@ -79,4 +79,4 @@ jobs:
- name: Upload to codecov.io
uses: codecov/codecov-action@1e68e06f1dbfde0e4cefc87efeba9e4643565303 # v5.1.2
with:
files: app/build/reports/kover/reportDebug.xml
files: authenticator/build/reports/kover/reportDebug.xml

View File

@ -270,10 +270,10 @@ sonar {
property("sonar.projectKey", "bitwarden_authenticator-android")
property("sonar.organization", "bitwarden")
property("sonar.host.url", "https://sonarcloud.io")
property("sonar.sources", "app/src/")
property("sonar.tests", "app/src/")
property("sonar.test.inclusions", "app/src/test/")
property("sonar.exclusions", "app/src/test/")
property("sonar.sources", "authenticator/src/")
property("sonar.tests", "authenticator/src/")
property("sonar.test.inclusions", "authenticator/src/test/")
property("sonar.exclusions", "authenticator/src/test/")
}
}

View File

@ -1,5 +1,7 @@
package com.bitwarden.authenticator.data.authenticator.datasource.disk.entity
import com.bitwarden.authenticator.data.authenticator.datasource.disk.entity.AuthenticatorItemAlgorithm.entries
/**
* Enum class representing SHA algorithms an authenticator item may be hashed with.
*/

View File

@ -1,5 +1,7 @@
package com.bitwarden.authenticator.data.authenticator.datasource.disk.entity
import com.bitwarden.authenticator.data.authenticator.datasource.disk.entity.AuthenticatorItemType.entries
/**
* Enum representing the supported "type" options for authenticator items.
*/

Some files were not shown because too many files have changed in this diff Show More