Skip to content

Instantly share code, notes, and snippets.

@mgrebenets
Created July 1, 2019 08:04
Show Gist options
  • Save mgrebenets/6cd2dca9774cb350eedddc79e1ab604c to your computer and use it in GitHub Desktop.
Save mgrebenets/6cd2dca9774cb350eedddc79e1ab604c to your computer and use it in GitHub Desktop.
lane :create_app_id do
Dir["../**/Produce.yml"].each do |file|
UI.message("Processing config at path: #{file}")
config = YAML.load_file(file)
config["app_ids"].each do |app_id|
produce(
# Developer username and team ID.
username: "myemail@apple.com",
team_id: "MYTEAMID",
# App details and capabilities read from `Produce.yml`.
app_identifier: app_id["id"],
app_name: app_id["name"],
# Don't create new app entry in App Store Connect.
skip_itc: true
)
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment