Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt#7 - Fixing Release Workflow Error #2706

Merged
merged 1 commit into from
Sep 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ jobs:
./gradlew :androidApp:bundleRelease

- name: Deploy to Play Store Internal
run: bundle exec fastlane android deploy_internal
run: bundle exec fastlane android internal

- name: Promote Internal to Beta
if: github.event.inputs.beta == 'true'
run: bundle exec fastlane android promote_to_beta
run: bundle exec fastlane android beta
File renamed without changes.
2 changes: 1 addition & 1 deletion fastlane/AppFile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
json_key_file("app/playStorePublishServiceCredentialsFile.json")
json_key_file("androidApp/playStorePublishServiceCredentialsFile.json")
package_name("org.mifos.mobile") # e.g. org.mifos.mobile
33 changes: 33 additions & 0 deletions fastlane/FastFile
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,37 @@ platform :android do
)
end

desc "Deploy internal tracks to Google Play"
lane :internal do
upload_to_play_store(
track: 'internal',
aab: 'androidApp/build/outputs/bundle/androidApp-release.aab',
skip_upload_metadata: true,
skip_upload_images: true,
skip_upload_screenshots: true,
)
end

desc "Promote internal tracks to beta on Google Play"
lane :beta do
upload_to_play_store(
track: 'internal',
track_promote_to: 'beta',
skip_upload_changelogs: true,
skip_upload_metadata: true,
skip_upload_images: true,
skip_upload_screenshots: true,
)
end

desc "Promote beta tracks to production on Google Play"
lane :production do
supply(
track: 'beta',
track_promote_to: 'production',
skip_upload_changelogs: true,
sync_image_upload: true,
)
end

end
24 changes: 24 additions & 0 deletions fastlane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,30 @@ Promote internal tracks to beta on Google Play

Promote beta tracks to production on Google Play

### android internal

```sh
[bundle exec] fastlane android internal
```

Deploy internal tracks to Google Play

### android beta

```sh
[bundle exec] fastlane android beta
```

Promote internal tracks to beta on Google Play

### android production

```sh
[bundle exec] fastlane android production
```

Promote beta tracks to production on Google Play

----

This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run.
Expand Down
Loading