{"action":"closed","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/9424","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/9424/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/9424/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/9424/events","html_url":"https://github.com/fastlane/fastlane/issues/9424","id":234967528,"number":9424,"title":"Deliver action is confused when there are both ipa and pkg","user":{"login":"vronin","id":1226916,"avatar_url":"https://avatars1.githubusercontent.com/u/1226916?v=4","gravatar_id":"","url":"https://api.github.com/users/vronin","html_url":"https://github.com/vronin","followers_url":"https://api.github.com/users/vronin/followers","following_url":"https://api.github.com/users/vronin/following{/other_user}","gists_url":"https://api.github.com/users/vronin/gists{/gist_id}","starred_url":"https://api.github.com/users/vronin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vronin/subscriptions","organizations_url":"https://api.github.com/users/vronin/orgs","repos_url":"https://api.github.com/users/vronin/repos","events_url":"https://api.github.com/users/vronin/events{/privacy}","received_events_url":"https://api.github.com/users/vronin/received_events","type":"User","site_admin":false},"labels":[{"id":394836387,"url":"https://api.github.com/repos/fastlane/fastlane/labels/status:%20auto-closed","name":"status: auto-closed","color":"ededed","default":false},{"id":389827016,"url":"https://api.github.com/repos/fastlane/fastlane/labels/status:%20waiting-for-reply","name":"status: waiting-for-reply","color":"ededed","default":false},{"id":315718050,"url":"https://api.github.com/repos/fastlane/fastlane/labels/tool:%20deliver","name":"tool: deliver","color":"e11d21","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-06-10T00:45:00Z","updated_at":"2017-08-23T22:21:59Z","closed_at":"2017-08-23T22:21:59Z","body":"I am using fastlane 2.37.0\r\n\r\nI have a Fastfile which define a lane including deliver() action. This deliver action explicitly says that pkg needs to be delievered.\r\n\r\nI have both .ipa and .pkg files in the project directory and this resulted in stumbling on following issue:\r\n\r\nDeliver option picks up both .ipa and .pkg. (pkg through explicit parameter and ipa from this code:\r\n default_value: Dir[\"*.pkg\"].sort_by { |x| File.mtime(x) }.last\r\n\r\nAs I understand if explicit parameter is set (as example \"pkg), it should ignore other option (\"ipa\")\r\n\r\nAnd what makes it worse that such combination doesn't trigger conflicting_options:/conflict_block:. As result, it shows a summary with both ipa and pkg and tries to upload ipa (when it should be uploading pkg) and fails with reasonably criptic error.\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"fastlane-bot"}}