Skip to content

Commit 2fa5f9e

Browse files
committed
#1711 fix Fastfile
1 parent fd5974a commit 2fa5f9e

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

fastlane/Fastfile

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ lane :production do
6161
gradle(task: "bundleRelease")
6262
end
6363

64-
apk_path_release="app/build/outputs/apk/free/release/keymapper-" + version_name + ".apk"
64+
apk_path_release="app/build/outputs/apk/release/keymapper-foss-" + version_name + ".apk"
6565

6666
# First release to google play so any errors with the descriptions are resolved before
6767
# creating the git tag.
@@ -107,19 +107,22 @@ lane :internal do
107107
# Do not release a debug build for pro version.
108108
# gradle(task: "assembleDebug")
109109

110-
# Release the free build to GitHub because billing only works if signed by Google Play
111-
gradle(task: "bundleProRelease")
112110

113-
# First release to google play so any errors with the descriptions are resolved before
114-
# creating the git tag.
115-
supply(
116-
aab: "app/build/outputs/bundle/proRelease/app-pro-release.aab",
117-
track: "internal",
118-
skip_upload_apk: true,
119-
skip_upload_metadata: true,
120-
skip_upload_changelogs: true,
121-
skip_upload_images: true,
122-
skip_upload_screenshots: true
123-
)
111+
Dir.chdir("..") do
112+
# Release the free build to GitHub because billing only works if signed by Google Play
113+
gradle(task: "bundleProRelease")
114+
115+
# First release to google play so any errors with the descriptions are resolved before
116+
# creating the git tag.
117+
supply(
118+
aab: "app/build/outputs/bundle/release/app-pro-release.aab",
119+
track: "internal",
120+
skip_upload_apk: true,
121+
skip_upload_metadata: true,
122+
skip_upload_changelogs: true,
123+
skip_upload_images: true,
124+
skip_upload_screenshots: true
125+
)
126+
end
124127
end
125128

0 commit comments

Comments
 (0)