Skip to content

Commit b0c7322

Browse files
authored
FastlaneRelease
2 parents 31d761c + 05e42bf commit b0c7322

File tree

3 files changed

+31
-2
lines changed

3 files changed

+31
-2
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@ fastlane/screenshots/screenshots.html
44
fastlane/report.xml
55
SwiftUI-Days.xcodeproj/project.xcworkspace/xcuserdata/oleg991.xcuserdatad/UserInterfaceState.xcuserstate
66
.DS_Store
7+
fastlane/.env
8+
*.ipa
9+
*.dSYM.zip
10+
*.dSYM

fastlane/Fastfile

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#
1212

1313
# Uncomment the line if you want fastlane to automatically update itself
14-
# update_fastlane
14+
update_fastlane
1515

1616
default_platform(:ios)
1717

@@ -20,4 +20,21 @@ platform :ios do
2020
lane :screenshots do
2121
capture_screenshots(scheme: "SwiftUI-DaysUITests")
2222
end
23-
end
23+
24+
desc "Собрать и отправить сборку в TestFlight"
25+
lane :release do
26+
build_app(
27+
scheme: "SwiftUI-Days",
28+
export_method: "app-store",
29+
export_options: {
30+
provisioningProfiles: {
31+
"com.oleg991.SwiftUI-Days" => "SwiftUI-Days App Store (fastlane)"
32+
}
33+
}
34+
)
35+
upload_to_testflight(
36+
skip_waiting_for_build_processing: true,
37+
apple_id: "6744068216"
38+
)
39+
end
40+
end

fastlane/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@ For _fastlane_ installation instructions, see [Installing _fastlane_](https://do
2323

2424
Generate new localized screenshots
2525

26+
### ios release
27+
28+
```sh
29+
[bundle exec] fastlane ios release
30+
```
31+
32+
Собрать и отправить сборку в TestFlight
33+
2634
----
2735

2836
This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run.

0 commit comments

Comments
 (0)