62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
# File 'lib/fastlane/actions/hockey.rb', line 62
def self.available_options
[
FastlaneCore::ConfigItem.new(key: :api_token,
env_name: "FL_HOCKEY_API_TOKEN",
description: "API Token for Hockey Access",
verify_block: Proc.new do |value|
raise "No API token for Hockey given, pass using `api_token: 'token'`".red unless (value and not value.empty?)
end),
FastlaneCore::ConfigItem.new(key: :ipa,
env_name: "FL_HOCKEY_IPA",
description: "Path to your IPA file. Optional if you use the `ipa` or `xcodebuild` action. For Mac zip the .app",
default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH],
verify_block: Proc.new do |value|
raise "Couldn't find ipa file at path '#{value}'".red unless File.exists?(value)
end),
FastlaneCore::ConfigItem.new(key: :dsym,
env_name: "FL_HOCKEY_DSYM",
description: "Path to your DSYM file",
default_value: Actions.lane_context[SharedValues::DSYM_OUTPUT_PATH],
optional: true,
verify_block: Proc.new do |value|
end),
FastlaneCore::ConfigItem.new(key: :notes,
env_name: "FL_HOCKEY_NOTES",
description: "Beta Notes",
default_value: "No changelog given"),
FastlaneCore::ConfigItem.new(key: :notify,
env_name: "FL_HOCKEY_NOTIFY",
description: "Notify testers? 1 for yes",
default_value: "1"),
FastlaneCore::ConfigItem.new(key: :status,
env_name: "FL_HOCKEY_STATUS",
description: "Download status: 1 = No user can download; 2 = Available for download",
default_value: "2"),
FastlaneCore::ConfigItem.new(key: :notes_type,
env_name: "FL_HOCKEY_NOTES_TYPE",
description: "Notes type for your :notes, 0 = Textile, 1 = Markdown (default)",
default_value: "1"),
FastlaneCore::ConfigItem.new(key: :release_type,
env_name: "FL_HOCKEY_RELEASE_TYPE",
description: "Release type of the app: 0 = Beta (default), 1 = Store, 2 = Alpha, 3 = Enterprise",
default_value: "0"),
FastlaneCore::ConfigItem.new(key: :mandatory,
env_name: "FL_HOCKEY_MANDATORY",
description: "Set to 1 to make this update mandatory",
default_value: "0"),
FastlaneCore::ConfigItem.new(key: :teams,
env_name: "FL_HOCKEY_TEAMS",
description: "Comma separated list of team ID numbers to which this build will be restricted",
optional: true),
FastlaneCore::ConfigItem.new(key: :users,
env_name: "FL_HOCKEY_USERS",
description: "Comma separated list of user ID numbers to which this build will be restricted",
optional: true),
FastlaneCore::ConfigItem.new(key: :tags,
env_name: "FL_HOCKEY_TAGS",
description: "Comma separated list of tags which will receive access to the build",
optional: true),
FastlaneCore::ConfigItem.new(key: :public_identifier,
env_name: "FL_HOCKEY_PUBLIC_IDENTIFIER",
description: "Public identifier of the app you are targeting, usually you won't need this value",
optional: true),
FastlaneCore::ConfigItem.new(key: :commit_sha,
env_name: "FL_HOCKEY_COMMIT_SHA",
description: "The Git commit SHA for this build",
optional: true),
FastlaneCore::ConfigItem.new(key: :repository_url,
env_name: "FL_HOCKEY_REPOSITORY_URL",
description: "The URL of your source repository",
optional: true),
FastlaneCore::ConfigItem.new(key: :build_server_url,
env_name: "FL_HOCKEY_BUILD_SERVER_URL",
description: "The URL of the build job on your build server",
optional: true)
]
end
|