Skip to content
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
34 changes: 29 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,23 @@ commands:
command: bundle exec fastlane android beta official:<< parameters.official >>
working_directory: android

# EXPERIMENTAL ONLY
upload-to-internal-app-sharing:
description: "Upload to Internal App Sharing"
steps:
- checkout
- attach_workspace:
at: android
- run:
name: Store the google service account key
command: echo "$FASTLANE_GOOGLE_SERVICE_ACCOUNT" | base64 --decode > service_account.json
working_directory: android
- run: *update-fastlane-android
- run:
name: Fastlane Play Store Upload
command: bundle exec fastlane android internal_app_sharing
working_directory: android

# EXPERIMENTAL ONLY
# No plans to do it for Official
upload-to-google-play-production:
Expand Down Expand Up @@ -391,6 +408,14 @@ jobs:
steps:
- android-build

android-internal-app-sharing-experimental:
<<: *defaults
docker:
- image: circleci/android:api-28-node

steps:
- upload-to-internal-app-sharing

android-google-play-beta-experimental:
<<: *defaults
docker:
Expand Down Expand Up @@ -452,13 +477,9 @@ workflows:
- ios-build-experimental:
requires:
- ios-hold-build-experimental
- ios-hold-testflight-experimental:
type: approval
requires:
- ios-build-experimental
- ios-testflight-experimental:
requires:
- ios-hold-testflight-experimental
- ios-build-experimental

# iOS Official
- ios-hold-build-official:
Expand All @@ -484,6 +505,9 @@ workflows:
- android-build-experimental:
requires:
- android-hold-build-experimental
- android-internal-app-sharing-experimental:
requires:
- android-build-experimental
- android-hold-google-play-beta-experimental:
type: approval
requires:
Expand Down
8 changes: 8 additions & 0 deletions android/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ platform :android do
end
end

desc "Upload App to Internal App Sharing"
lane :internal_app_sharing do
upload_to_play_store_internal_app_sharing(
package_name: 'chat.rocket.reactnative',
aab: 'android/app/build/outputs/bundle/experimentalPlayRelease/app-experimental-play-release.aab'
)
end

desc "Upload App to Play Store Production"
lane :production do |options|
upload_to_play_store(
Expand Down
27 changes: 11 additions & 16 deletions android/fastlane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,33 +12,28 @@ Install _fastlane_ using
```
[sudo] gem install fastlane -NV
```
or alternatively using `brew cask install fastlane`
or alternatively using `brew install fastlane`

# Available Actions
## Android
### android playBuild
### android beta
```
fastlane android playBuild
fastlane android beta
```
Play build for development
### android fossRelease
Upload App to Play Store Internal
### android internal_app_sharing
```
fastlane android fossRelease
fastlane android internal_app_sharing
```
Foss build for release
### android playRelease
Upload App to Internal App Sharing
### android production
```
fastlane android playRelease
fastlane android production
```
Play build for release
### android playAlpha
```
fastlane android playAlpha
```
Upload App to Play store
Upload App to Play Store Production

----

This README.md is auto-generated and will be re-generated every time [fastlane](https://fastlane.tools) is run.
This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run.
More information about fastlane can be found on [fastlane.tools](https://fastlane.tools).
The documentation of fastlane can be found on [docs.fastlane.tools](https://docs.fastlane.tools).