This repository was archived by the owner on Jan 31, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +12
-5
lines changed
lib/fastlane/plugin/branch Expand file tree Collapse file tree 5 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,11 @@ lane :validate do
41
41
)
42
42
end
43
43
44
+ lane :report do
45
+ branch_report workspace : "examples/BranchPluginExample/BranchPluginExample.xcworkspace" ,
46
+ header_only : true
47
+ end
48
+
44
49
desc "Update the README in this repo"
45
50
lane :readme do
46
51
updated_dox = update_readme
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ module Actions
9
9
class BranchReportAction < Action
10
10
def self . run ( params )
11
11
config = BranchIOCLI ::Configuration ::ReportConfiguration . wrapper params , false
12
- BranchIOCLI ::Commands ::ReportCommand . new ( config ) . run!
12
+ BranchIOCLI ::Command ::ReportCommand . new ( config ) . run!
13
13
rescue StandardError => e
14
14
UI . user_error! "Error in BranchReportAction: #{ e . message } \n #{ e . backtrace } "
15
15
end
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ def self.run(params)
11
11
params . load_configuration_file "Branchfile"
12
12
# second arg false: Don't add default values or env. vars. Let Fastlane
13
13
# handle that. This is necessary to work with the Branchfile.
14
- config = BranchIOCLI ::Configuration ::SetupConfiguration . wrapper params , false
15
- BranchIOCLI ::Commands ::SetupCommand . new ( config ) . run!
14
+ config = BranchIOCLI ::Configuration ::Configuration . wrapper params , false
15
+ BranchIOCLI ::Command ::SetupCommand . new ( config ) . run!
16
16
rescue StandardError => e
17
17
UI . user_error! "Error in SetupBranchAction: #{ e . message } \n #{ e . backtrace } "
18
18
end
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ module Actions
9
9
class ValidateUniversalLinksAction < Action
10
10
def self . run ( params )
11
11
config = BranchIOCLI ::Configuration ::ValidateConfiguration . wrapper params , false
12
- BranchIOCLI ::Commands ::ValidateCommand . new ( config ) . run! == 0
12
+ BranchIOCLI ::Command ::ValidateCommand . new ( config ) . run! == 0
13
13
rescue StandardError => e
14
14
UI . user_error! "Error in ValidateUniversalLinksAction: #{ e . message } \n #{ e . backtrace } "
15
15
false
Original file line number Diff line number Diff line change @@ -7,7 +7,9 @@ def from_branch_option(option)
7
7
env_name : option . env_name ,
8
8
description : option . description ,
9
9
default_value : option . default_value ,
10
- type : option . type
10
+ type : option . type ,
11
+ is_string : option . type == String ,
12
+ optional : true
11
13
)
12
14
end
13
15
end
You can’t perform that action at this time.
0 commit comments