Skip to content

Commit

Permalink
chore: create fastlane lane for creating alpha releases
Browse files Browse the repository at this point in the history
  • Loading branch information
sds100 committed Dec 21, 2024
1 parent fb3789d commit 8fd8f66
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
29 changes: 29 additions & 0 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,32 @@ lane :prod do
skip_upload_apk: true
)
end

desc "Deploy alpha release"
lane :alpha do
version_code = get_properties_value(key: "VERSION_CODE", path: "./app/version.properties")
version_name = get_properties_value(key: "VERSION_NAME", path: "./app/version.properties")

ENV["KEYSTORE_PASSWORD"] = prompt(
text: "Key store password: ",
secure_text: true
)

ENV["KEY_PASSWORD"] = prompt(
text: "Key password: ",
secure_text: true
)

gradle(task: "bundleProRelease")

supply(
aab: "app/build/outputs/bundle/proRelease/app-pro-release.aab",
track: "alpha",
release_status: "completed",
skip_upload_apk: true,
skip_upload_metadata: true,
skip_upload_changelogs: true,
skip_upload_images: true,
skip_upload_screenshots: true
)
end
8 changes: 8 additions & 0 deletions fastlane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ Create testing release

Create and deploy production release

### alpha

```sh
[bundle exec] fastlane alpha
```

Deploy alpha release

----

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

0 comments on commit 8fd8f66

Please sign in to comment.