diff --git a/.env.default.template b/.env.default.template new file mode 100644 index 0000000..7cedf8f --- /dev/null +++ b/.env.default.template @@ -0,0 +1 @@ +FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD = TO_GENERATE diff --git a/.gitignore b/.gitignore index 9a5ac1c..f83289b 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,6 @@ ScanNow.xcodeproj/project.xcworkspace/xcuserdata fastlane/report.xml *.xcodeproj/xcuserdata ScanNow.xcodeproj/project.xcworkspace/xcshareddata/swiftpm +.env.default +*.ipa +*.app.dSYM.zip diff --git a/fastlane/Appfile b/fastlane/Appfile new file mode 100644 index 0000000..6b7cb00 --- /dev/null +++ b/fastlane/Appfile @@ -0,0 +1,2 @@ +app_identifier "com.szwagrosoft.quick-scan" +itc_team_id "123917051" diff --git a/fastlane/Fastfile b/fastlane/Fastfile index d5bd379..7cb78e0 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -40,4 +40,13 @@ platform :ios do error_message: "Generated code is different than sourcery output. Run `mint run sourcery` in `ScanNowTests` directory to re-generate code." ) end + + lane :beta do + build_app(project: "ScanNow.xcodeproj", scheme: "ScanNow") + changelog_from_git_commits + upload_to_testflight( + groups:["TeamA"], + distribute_external: true + ) + end end diff --git a/fastlane/README.md b/fastlane/README.md index 1405426..108a99d 100644 --- a/fastlane/README.md +++ b/fastlane/README.md @@ -31,6 +31,14 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do +### ios beta + +```sh +[bundle exec] fastlane ios beta +``` + + + ---- This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run.