Skip to content

Instantly share code, notes, and snippets.

@callmephilip
Last active December 26, 2016 10:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save callmephilip/8b777a712267faf10aea6af5fe5457cf to your computer and use it in GitHub Desktop.
Save callmephilip/8b777a712267faf10aea6af5fe5457cf to your computer and use it in GitHub Desktop.
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