ci: Fix set changelog for fastlane
This commit is contained in:
parent
be69672d41
commit
d87c4fe6ca
2 changed files with 6 additions and 6 deletions
1
.github/workflows/main_deploy.yaml
vendored
1
.github/workflows/main_deploy.yaml
vendored
|
|
@ -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 ..
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue