From 9f71db62106faabd324d942a4336c7e5424a9e22 Mon Sep 17 00:00:00 2001 From: evergreen Date: Mon, 12 Aug 2024 00:49:31 +0900 Subject: [PATCH] =?UTF-8?q?[Chore]=20keystore=20properties=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/firebase_cd.yml | 2 +- app/build.gradle.kts | 4 ++-- farmeme-keystore.properties | 5 +++++ 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 farmeme-keystore.properties diff --git a/.github/workflows/firebase_cd.yml b/.github/workflows/firebase_cd.yml index 8a68ef53..b31221e7 100644 --- a/.github/workflows/firebase_cd.yml +++ b/.github/workflows/firebase_cd.yml @@ -26,7 +26,7 @@ jobs: - name: Create KeyStore Properties run: | - echo "${{ secrets.PPAC_KEYSTORE_PROPERTIES }}" > ./app/signing/farmeme-keystore.properties + echo "${{ secrets.PPAC_KEYSTORE_PROPERTIES }}" > ./farmeme-keystore.properties - name: Build APK run: ./gradlew assembleRelease PstorePassword=${{secrets.PPAC_KEYSTORE_PASSWORD}} PkeyPassword=${{secrets.PPAC_ALIAS_PASSWORD}} diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 37dc513e..f8aa1e61 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -9,7 +9,7 @@ plugins { alias(libs.plugins.google.services) } -val keystorePropertiesFile = rootProject.file("app/signing/farmeme-keystore.properties") +val keystorePropertiesFile = rootProject.file("farmeme-keystore.properties") android { namespace = libs.versions.namespace.get() compileSdk = libs.versions.compileSdk.get().toInt() @@ -33,7 +33,7 @@ android { create("release") { val keystoreProperties = Properties() keystoreProperties.load(FileInputStream(keystorePropertiesFile)) - storeFile = file("signing/farmeme-keystore.jks") + storeFile = file("farmeme-keystore.jks") keyAlias = keystoreProperties.getProperty("keyAlias") keyPassword = keystoreProperties.getProperty("keyPassword") storePassword = keystoreProperties.getProperty("storePassword") diff --git a/farmeme-keystore.properties b/farmeme-keystore.properties new file mode 100644 index 00000000..b1f399b2 --- /dev/null +++ b/farmeme-keystore.properties @@ -0,0 +1,5 @@ +storeFile = farmeme-keystore.jks +storePassword = asdfqwer +keyAlias = farmeme +keyPassword = asdfqwer +latestVersion = latest_version \ No newline at end of file