Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added bange for icon #145

Open
wants to merge 1 commit into
base: screenshots_with_parameters
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions xcode/commonFastfile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -185,6 +186,12 @@ lane :syncCodeSigning do |options|
)
end

lane :addBadge do |options|
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

private lane or just function

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
Expand Down