{"action":"created","issue":{"url":"https://api.github.com/repos/KrauseFx/fastlane/issues/467","labels_url":"https://api.github.com/repos/KrauseFx/fastlane/issues/467/labels{/name}","comments_url":"https://api.github.com/repos/KrauseFx/fastlane/issues/467/comments","events_url":"https://api.github.com/repos/KrauseFx/fastlane/issues/467/events","html_url":"https://github.com/KrauseFx/fastlane/issues/467","id":98703568,"number":467,"title":"DELIVER_VERSION is sometimes an empty string","user":{"login":"Intellicode","id":6794,"avatar_url":"https://avatars.githubusercontent.com/u/6794?v=3","gravatar_id":"","url":"https://api.github.com/users/Intellicode","html_url":"https://github.com/Intellicode","followers_url":"https://api.github.com/users/Intellicode/followers","following_url":"https://api.github.com/users/Intellicode/following{/other_user}","gists_url":"https://api.github.com/users/Intellicode/gists{/gist_id}","starred_url":"https://api.github.com/users/Intellicode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Intellicode/subscriptions","organizations_url":"https://api.github.com/users/Intellicode/orgs","repos_url":"https://api.github.com/users/Intellicode/repos","events_url":"https://api.github.com/users/Intellicode/events{/privacy}","received_events_url":"https://api.github.com/users/Intellicode/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-03T09:14:51Z","updated_at":"2015-08-03T12:21:17Z","closed_at":"2015-08-03T10:50:08Z","body":"If `DELIVER_VERSION` is an empty string, the deliver tool will assign an empty string as version number, and thus the app store submission will fail. I'm not sure where this issue should be fixed, but I'm opening it here since this is the origin of the variable. I can fix it myself and make a pull request, but I'd like to know where the best place is to fix it or if I simply did something wrong what could have made this variable an empty string.\r\n\r\nFor now I have the following code in the deliver project that helps to resolve the issue:\r\n\r\nhttps://github.com/Intellicode/deliver/commit/3814208a78899f5ef3b3e7264a0834ab7d1663dd\r\n\r\n```\r\n/Library/Ruby/Gems/2.0.0/gems/deliver-0.13.0/lib/deliver/app_metadata.rb:81:in `verify_version': Version mismatch: on iTunesConnect the latest version is '1.0', you specified '' (RuntimeError)\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/deliver-0.13.0/lib/deliver/deliver_process.rb:211:in `verify_app_on_itunesconnect'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/deliver-0.13.0/lib/deliver/deliver_process.rb:38:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/deliver-0.13.0/lib/deliver/deliverer.rb:135:in `finished_executing_deliver_file'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/deliver-0.13.0/lib/deliver/deliverfile/deliverfile.rb:31:in `initialize'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/deliver-0.13.0/lib/deliver/deliverer.rb:87:in `new'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/deliver-0.13.0/lib/deliver/deliverer.rb:87:in `initialize'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/actions/deliver.rb:21:in `new'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/actions/deliver.rb:21:in `block in run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/actions/deliver.rb:17:in `chdir'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/actions/deliver.rb:17:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/runner.rb:142:in `block (2 levels) in execute_action'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/actions/actions_helper.rb:62:in `execute_action'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/runner.rb:128:in `block in execute_action'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/runner.rb:127:in `chdir'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/runner.rb:127:in `execute_action'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/fast_file.rb:120:in `method_missing'\r\n\tfrom (eval):63:in `block (3 levels) in parse'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/lane.rb:29:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/lane.rb:29:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/runner.rb:50:in `block in execute'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/runner.rb:44:in `chdir'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/runner.rb:44:in `execute'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/lane_manager.rb:36:in `cruise_lane'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/lib/fastlane/command_line_handler.rb:31:in `handle'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/bin/fastlane:35:in `block (2 levels) in run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:178:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/command.rb:153:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/runner.rb:428:in `run_active_command'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/runner.rb:68:in `run!'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.4/lib/commander/delegates.rb:15:in `run!'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/bin/fastlane:124:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.13.1/bin/fastlane:130:in `<top (required)>'\r\n\tfrom /usr/bin/fastlane:23:in `load'\r\n\tfrom /usr/bin/fastlane:23:in `<main>'\r\n```"},"comment":{"url":"https://api.github.com/repos/KrauseFx/fastlane/issues/comments/127216422","html_url":"https://github.com/KrauseFx/fastlane/issues/467#issuecomment-127216422","issue_url":"https://api.github.com/repos/KrauseFx/fastlane/issues/467","id":127216422,"user":{"login":"KrauseFx","id":869950,"avatar_url":"https://avatars.githubusercontent.com/u/869950?v=3","gravatar_id":"","url":"https://api.github.com/users/KrauseFx","html_url":"https://github.com/KrauseFx","followers_url":"https://api.github.com/users/KrauseFx/followers","following_url":"https://api.github.com/users/KrauseFx/following{/other_user}","gists_url":"https://api.github.com/users/KrauseFx/gists{/gist_id}","starred_url":"https://api.github.com/users/KrauseFx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KrauseFx/subscriptions","organizations_url":"https://api.github.com/users/KrauseFx/orgs","repos_url":"https://api.github.com/users/KrauseFx/repos","events_url":"https://api.github.com/users/KrauseFx/events{/privacy}","received_events_url":"https://api.github.com/users/KrauseFx/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T12:21:17Z","updated_at":"2015-08-03T12:21:17Z","body":"@Intellicode over the next week probably. You can easily install it on your local computer by cloning `fastlane_core` and running `bundle install && rake install`"}}