Added bange for icon
This commit is contained in:
parent
e28259b1ed
commit
8502c4879b
|
|
@ -94,6 +94,7 @@ private_lane :buildConfiguration do |options|
|
|||
options[:workspace] = "./#{appName}.xcworkspace"
|
||||
|
||||
installDependencies(options)
|
||||
addBadge(options)
|
||||
|
||||
if !(options[:uploadToFabric] || options[:uploadToAppStore])
|
||||
options = merge_options_with_config_file(options)
|
||||
|
|
@ -185,6 +186,12 @@ lane :syncCodeSigning do |options|
|
|||
)
|
||||
end
|
||||
|
||||
lane :addBadge do |options|
|
||||
versionNumber = options[:versionNumber]
|
||||
buildNumber = options[:buildNumber]
|
||||
add_badge(shield: "#{versionNumber}-#{buildNumber}-blue", dark: false)
|
||||
end
|
||||
|
||||
private_lane :openKeychain do |options|
|
||||
if is_ci?
|
||||
# workaround to avoid duplication problem
|
||||
|
|
|
|||
Loading…
Reference in New Issue