Skip to content

Commit

Permalink
Update fastlane.
Browse files Browse the repository at this point in the history
  • Loading branch information
khoren93 committed Jan 6, 2019
1 parent 8152dac commit 882f90d
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 4 deletions.
20 changes: 20 additions & 0 deletions SwiftHub.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
07241D2121B18A7400F800BD /* PullRequestCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 07241D1F21B18A7400F800BD /* PullRequestCell.xib */; };
07241D2321B18A8600F800BD /* PullRequestCellViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07241D2221B18A8600F800BD /* PullRequestCellViewModel.swift */; };
07241D2521B18AA000F800BD /* PullRequestsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07241D2421B18AA000F800BD /* PullRequestsViewController.swift */; };
0724E65821E209E6002530CA /* Appfile in Resources */ = {isa = PBXBuildFile; fileRef = 0724E65121E209E6002530CA /* Appfile */; };
0724E65A21E209E6002530CA /* Fastfile in Resources */ = {isa = PBXBuildFile; fileRef = 0724E65321E209E6002530CA /* Fastfile */; };
0724E65D21E209E6002530CA /* Snapfile in Resources */ = {isa = PBXBuildFile; fileRef = 0724E65621E209E6002530CA /* Snapfile */; };
072B8EDA21B4143200B2C28C /* RepositoryContributors.json in Resources */ = {isa = PBXBuildFile; fileRef = 072B8ED921B4143200B2C28C /* RepositoryContributors.json */; };
07320453214128ED00C1E39F /* Event.swift in Sources */ = {isa = PBXBuildFile; fileRef = 07320452214128ED00C1E39F /* Event.swift */; };
073204552141377D00C1E39F /* Events.json in Resources */ = {isa = PBXBuildFile; fileRef = 073204542141377D00C1E39F /* Events.json */; };
Expand Down Expand Up @@ -275,6 +278,9 @@
07241D1F21B18A7400F800BD /* PullRequestCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = PullRequestCell.xib; sourceTree = "<group>"; };
07241D2221B18A8600F800BD /* PullRequestCellViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PullRequestCellViewModel.swift; sourceTree = "<group>"; };
07241D2421B18AA000F800BD /* PullRequestsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PullRequestsViewController.swift; sourceTree = "<group>"; };
0724E65121E209E6002530CA /* Appfile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Appfile; sourceTree = "<group>"; };
0724E65321E209E6002530CA /* Fastfile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Fastfile; sourceTree = "<group>"; };
0724E65621E209E6002530CA /* Snapfile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = Snapfile; sourceTree = "<group>"; };
072B8ED921B4143200B2C28C /* RepositoryContributors.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = RepositoryContributors.json; sourceTree = "<group>"; };
07320452214128ED00C1E39F /* Event.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Event.swift; sourceTree = "<group>"; };
073204542141377D00C1E39F /* Events.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = Events.json; sourceTree = "<group>"; };
Expand Down Expand Up @@ -559,6 +565,16 @@
path = "Pull Requests";
sourceTree = "<group>";
};
0724E64D21E209E6002530CA /* fastlane */ = {
isa = PBXGroup;
children = (
0724E65121E209E6002530CA /* Appfile */,
0724E65321E209E6002530CA /* Fastfile */,
0724E65621E209E6002530CA /* Snapfile */,
);
path = fastlane;
sourceTree = SOURCE_ROOT;
};
0732045C2141395200C1E39F /* Events */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -729,6 +745,7 @@
07FC33781FFFE2BD00D53888 /* Configs */ = {
isa = PBXGroup;
children = (
0724E64D21E209E6002530CA /* fastlane */,
07FC33821FFFE53800D53888 /* .gitignore */,
07FC33801FFFE52A00D53888 /* .swiftlint.yml */,
C762C66E1E1D58B200C09EBD /* Configs.swift */,
Expand Down Expand Up @@ -1250,6 +1267,7 @@
A0E2B088210625C0000DA282 /* SettingThemeCell.xib in Resources */,
A0E2B07A2101FCE4000DA282 /* UserFollowers.json in Resources */,
07B183842172268C007CC23B /* UserDetailCell.xib in Resources */,
0724E65821E209E6002530CA /* Appfile in Resources */,
07DFF6D320E90502004DAA68 /* Repository.json in Resources */,
072B8EDA21B4143200B2C28C /* RepositoryContributors.json in Resources */,
07241D0F21B1745D00F800BD /* RepositoryPullRequest.json in Resources */,
Expand All @@ -1266,8 +1284,10 @@
A034AF8121529194004C310B /* NotificationsRepository.json in Resources */,
073204572141379500C1E39F /* EventsRepository.json in Resources */,
07241D0721B1741800F800BD /* RepositoryCommit.json in Resources */,
0724E65A21E209E6002530CA /* Fastfile in Resources */,
A034AF7F215287B2004C310B /* Notifications.json in Resources */,
07241D0D21B1744900F800BD /* RepositoryPullRequests.json in Resources */,
0724E65D21E209E6002530CA /* Snapfile in Resources */,
07320459214137A800C1E39F /* EventsUserReceived.json in Resources */,
0752F48D21C8D9BA00A30BF2 /* TrendingUserCell.xib in Resources */,
0752F49A21C8E67D00A30BF2 /* RepoLanguageCell.xib in Resources */,
Expand Down
4 changes: 2 additions & 2 deletions fastlane/Appfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
app_identifier("com.public.SwiftHubUITests") # The bundle identifier of your app
# apple_id("[[APPLE_ID]]") # Your Apple email address
app_identifier("com.public.SwiftHub") # The bundle identifier of your app
apple_id("[email protected]") # Your Apple email address


# For more information about the Appfile, see:
Expand Down
8 changes: 7 additions & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,14 @@ platform :ios do
capture_screenshots(workspace: "SwiftHub.xcworkspace", scheme: "SwiftHubUITests")
end

desc "Submit a new beta build to apple TestFlight"
lane :beta do
build_app(scheme: "SwiftHub")
build_app(scheme: "SwiftHub",
workspace: "SwiftHub.xcworkspace",
include_bitcode: true,
xcargs: "-allowProvisioningUpdates")

pilot
end

lane :increment_build do
Expand Down
2 changes: 1 addition & 1 deletion fastlane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Generate new localized screenshots
```
fastlane ios beta
```

Submit a new beta build to apple TestFlight
### ios increment_build
```
fastlane ios increment_build
Expand Down

0 comments on commit 882f90d

Please sign in to comment.