Skip to content
This repository has been archived by the owner on Nov 19, 2018. It is now read-only.

Commit

Permalink
Fixed metadata exception
Browse files Browse the repository at this point in the history
  • Loading branch information
KrauseFx committed May 22, 2015
1 parent a6c568d commit 5276caa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/deliver/deliver_process.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ def run


if is_beta_build?
if ready_for_sale?
raise "Cannot update metadata of apps 'Ready for Sale'. You can dupe: http://www.openradar.appspot.com/18263306".red
end

Helper.log.info "Beta builds don't upload new metadata to iTunesConnet".yellow
else
upload_metadata
Expand All @@ -58,6 +54,10 @@ def run
end

def upload_metadata
if ready_for_sale?
raise "Cannot update metadata of apps 'Ready for Sale'. You can dupe: http://www.openradar.appspot.com/18263306".red
end

load_metadata_from_config_json_folder # the json file generated from the quick start # deprecated
load_metadata_folder # this is the new way of defining app metadata
set_app_metadata
Expand Down

0 comments on commit 5276caa

Please sign in to comment.