Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
fastlane_version "1.105.0"
platform :android do
desc "Submit a new Beta Build to Google Play"
lane :beta do
gradle(task: 'clean', project_dir: "android/")
gradle(task: "assemble", build_type: "Release", project_dir: "android/")
supply(track: "beta", apk: "android/app/build/outputs/apk/app-release.apk")
end
end
platform :ios do
desc "Submit a new Beta Build to Apple TestFlight"
desc "This will also make sure the profile is up to date"
lane :beta do
match(type: "appstore", readonly: true)
increment_build_number(xcodeproj: './ios/Pixelinho.xcodeproj')
ipa = gym(scheme: "Pixelinho", project: "./ios/Pixelinho.xcodeproj")
pilot()
clean_build_artifacts
commit_version_bump(
message: "👷 Deployed new version #{lane_context[SharedValues::BUILD_NUMBER]} [skip ci]",
xcodeproj: './ios/Pixelinho.xcodeproj'
)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment