From bbfb87cc05cb8fcb78cf0f1ccdb13778e2568466 Mon Sep 17 00:00:00 2001 From: KEZ Date: Fri, 27 Dec 2024 23:31:20 +0900 Subject: [PATCH 1/3] =?UTF-8?q?STEP4:=20release=20branch=20=EC=83=9D?= =?UTF-8?q?=EC=84=B1=20=ED=9B=84=20PR=20=EC=9A=94=EC=B2=AD=20=EB=B0=8F=20m?= =?UTF-8?q?erge=20=EC=A7=84=ED=96=89=ED=95=98=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index f83b361..13d8bc4 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -14,7 +14,7 @@ android { minSdk = 24 targetSdk = 34 versionCode = 1 - versionName = "1.0" + versionName = "1.0.0" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } From 3c0c8739fd90232c6ed5e552b300a0f4a621f39b Mon Sep 17 00:00:00 2001 From: KEZ Date: Fri, 27 Dec 2024 23:35:34 +0900 Subject: [PATCH 2/3] =?UTF-8?q?STEP4:=20release=20branch=20=EC=83=9D?= =?UTF-8?q?=EC=84=B1=20=ED=9B=84=20Push?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/sample.yml | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/workflows/sample.yml b/.github/workflows/sample.yml index d8b75d4..8fb1848 100644 --- a/.github/workflows/sample.yml +++ b/.github/workflows/sample.yml @@ -1,14 +1,13 @@ -name: Sample Workflow on: push: branches: - release/** jobs: - common-steps: + build-and-release: runs-on: ubuntu-latest steps: - # 단계 1: 저장소 코드 가져오기: 이후 단계에서 저장소 코드를 사용할 수 있도록 준비합니다. + # 단계 1: 저장소 코드 가져오기 - name: Checkout code uses: actions/checkout@v3 @@ -18,7 +17,7 @@ jobs: with: distribution: 'temurin' java-version: '17' - # Gradle 빌드 및 테스트를 위한 Java Development Kit을 설정합니다. + # Gradle 빌드 및 테스트를 위해 JDK를 설정합니다. # 단계 3: Gradle 실행 파일에 실행 권한 부여 - name: Grant execute permission for gradlew @@ -35,26 +34,22 @@ jobs: gradle-cache-${{ runner.os }}- # Gradle 의존성을 캐싱하여 빌드 시간을 단축합니다. - release: - needs: common-steps - runs-on: ubuntu-latest - steps: - # 단계 1: 단위 테스트 실행 + # 단계 5: 단위 테스트 실행 - name: Run Tests run: ./gradlew test # 애플리케이션 기능을 검증하기 위해 단위 테스트를 실행합니다. - # 단계 2: Lint 검사 실행 + # 단계 6: Lint 검사 실행 - name: Verify Lint run: ./gradlew lint # 코드 품질 및 일관성을 보장하기 위해 Lint 검사를 실행합니다. - # 단계 3: 릴리즈 APK 빌드 + # 단계 7: 릴리즈 APK 빌드 - name: Build APK run: ./gradlew assembleRelease # 애플리케이션의 릴리즈 APK를 생성합니다. - # 단계 4: Firebase App Distribution에 APK 업로드 + # 단계 8: Firebase App Distribution에 APK 업로드 - name: Upload to Firebase App Distribution uses: wzieba/Firebase-Distribution-Github-Action@v1 with: @@ -62,3 +57,4 @@ jobs: serviceCredentialsFileContent: ${{ secrets.CREDENTIAL_FILE_CONTENT }} groups: sample-tester file: app/build/outputs/apk/release/app-release.apk + # 릴리즈 APK를 Firebase 테스터 그룹에 배포합니다. \ No newline at end of file From b2a055685948b6cb128441ddc9a57698eedf6945 Mon Sep 17 00:00:00 2001 From: KEZ Date: Fri, 27 Dec 2024 23:41:59 +0900 Subject: [PATCH 3/3] Fix Apk name --- .github/workflows/sample.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sample.yml b/.github/workflows/sample.yml index 8fb1848..3977105 100644 --- a/.github/workflows/sample.yml +++ b/.github/workflows/sample.yml @@ -56,5 +56,5 @@ jobs: appId: ${{ secrets.FIREBASE_APP_ID }} serviceCredentialsFileContent: ${{ secrets.CREDENTIAL_FILE_CONTENT }} groups: sample-tester - file: app/build/outputs/apk/release/app-release.apk + file: app/build/outputs/apk/release/app-release-unsigned.apk # 릴리즈 APK를 Firebase 테스터 그룹에 배포합니다. \ No newline at end of file