Skip to content

Commit 0eff815

Browse files
committed
create fastlane track for internal testing
1 parent ed84160 commit 0eff815

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

fastlane/Fastfile

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ lane :prod do
6262
# creating the git tag.
6363
supply(
6464
aab: "app/build/outputs/bundle/proRelease/app-pro-release.aab",
65-
track: "beta",
66-
release_status: "draft",
65+
track: "internal",
6766
skip_upload_apk: true
6867
)
6968

@@ -82,11 +81,14 @@ lane :prod do
8281
)
8382
end
8483

85-
desc "Deploy alpha release"
86-
lane :alpha do
84+
desc "Create and deploy internal testing release"
85+
lane :internal do
8786
version_code = get_properties_value(key: "VERSION_CODE", path: "./app/version.properties")
8887
version_name = get_properties_value(key: "VERSION_NAME", path: "./app/version.properties")
8988

89+
# Don't create changelog for f-droid because not committing it
90+
# File.write("metadata/android/en-US/changelogs/" + version_code + ".txt", whats_new)
91+
9092
ENV["KEYSTORE_PASSWORD"] = prompt(
9193
text: "Key store password: ",
9294
secure_text: true
@@ -97,16 +99,18 @@ lane :alpha do
9799
secure_text: true
98100
)
99101

102+
# Do not release a debug build for pro version.
103+
# gradle(task: "assembleDebug")
104+
105+
# Release the free build to GitHub because billing only works if signed by Google Play
100106
gradle(task: "bundleProRelease")
101107

108+
# First release to google play so any errors with the descriptions are resolved before
109+
# creating the git tag.
102110
supply(
103111
aab: "app/build/outputs/bundle/proRelease/app-pro-release.aab",
104-
track: "alpha",
105-
release_status: "completed",
106-
skip_upload_apk: true,
107-
skip_upload_metadata: true,
108-
skip_upload_changelogs: true,
109-
skip_upload_images: true,
110-
skip_upload_screenshots: true
112+
track: "internal",
113+
skip_upload_apk: true
111114
)
112115
end
116+

0 commit comments

Comments
 (0)