Skip to content

Commit

Permalink
Fix fastlane Android (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
Janaka-Steph authored Dec 2, 2022
1 parent d2e6a91 commit 6e5e65c
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ fastlane_version '2.102.0'

# iOS Lanes 🍏
platform :ios do

desc 'Fetch certificates and provisioning profiles'
lane :certificates do
match(app_identifier: 'io.sevenlabs.app', type: 'development', readonly: true)
Expand Down Expand Up @@ -50,13 +49,11 @@ platform :ios do
submission_information: { add_id_info_uses_idfa: false },
)
end

end


# Android Lanes 🤖
platform :android do

desc 'Build the Android application apk.'
lane :apk do
gradle(task: 'clean', project_dir: 'android/')
Expand All @@ -68,23 +65,21 @@ platform :android do
desc 'Ship to PlayStore.'
lane :prod do
git_check
build
apk
supply(
track: 'production',
)
end

end

## Bump
## Bump
desc 'Android: Increment versionCode and set versionName to package.json version.'
package = load_json(json_path: "./package.json")

private_lane :inc_ver_and do
increment_version_code(
gradle_file_path: "./android/app/build.gradle",
)

increment_version_name(
gradle_file_path: "./android/app/build.gradle",
version_name: package['version']
Expand All @@ -95,7 +90,6 @@ end
desc 'iOS: Increment build number and set the version to package.json version.'
private_lane :inc_ver_ios do
package = load_json(json_path: "./package.json")

increment_build_number(
xcodeproj: './ios/App/App.xcodeproj'
)
Expand Down

0 comments on commit 6e5e65c

Please sign in to comment.