From d87c4fe6ca7a518504dd0844c7e3e8f8923acbb1 Mon Sep 17 00:00:00 2001 From: Krille Date: Tue, 12 Sep 2023 12:00:18 +0200 Subject: [PATCH] ci: Fix set changelog for fastlane --- .github/workflows/main_deploy.yaml | 1 - android/fastlane/Fastfile | 11 ++++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main_deploy.yaml b/.github/workflows/main_deploy.yaml index 9ec7debd3..f8603f30e 100644 --- a/.github/workflows/main_deploy.yaml +++ b/.github/workflows/main_deploy.yaml @@ -76,6 +76,5 @@ jobs: cd android bundle install bundle update fastlane - bundle exec fastlane internal_test_changelog bundle exec fastlane deploy_internal_test cd .. diff --git a/android/fastlane/Fastfile b/android/fastlane/Fastfile index 65aa0fac5..c8485b9dc 100644 --- a/android/fastlane/Fastfile +++ b/android/fastlane/Fastfile @@ -35,17 +35,18 @@ platform :android do end end - lane :internal_test_changelog do - changelog_from_git_commits(commits_count: 1) - end - lane :deploy_internal_test do versions = google_play_track_version_codes( track: "internal", json_key: "./keys.json" ) last_version = versions[0].to_i - upload_to_play_store(track: 'internal', aab: '../build/app/outputs/bundle/release/app-release.aab', version_code: "#{last_version+1}") + upload_to_play_store( + track: 'internal', + aab: '../build/app/outputs/bundle/release/app-release.aab', + version_code: "#{last_version+1}", + changelog: changelog_from_git_commits(commits_count: 1) + ) end lane :deploy_candidate do