Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Krisztian Godrei committed Nov 13, 2015
1 parent de6cc2c commit 47b8cc9
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions uploaders/apk_uploader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def deploy_apk_to_bitrise(apk_path, build_url, api_token, notify_user_groups, no
# - Create a Build Artifact on Bitrise
puts
puts '=> Create a Build Artifact on Bitrise'
upload_url, artifact_id = create_artifact(build_url, api_token, apk_path, 'file')
upload_url, artifact_id = create_artifact(build_url, api_token, apk_path, 'android-apk')
fail 'No upload_url provided for the artifact' if upload_url.nil?
fail 'No artifact_id provided for the artifact' if artifact_id.nil?

Expand All @@ -102,16 +102,6 @@ def deploy_apk_to_bitrise(apk_path, build_url, api_token, notify_user_groups, no
puts '=> Upload the apk'
upload_file(upload_url, apk_path)

# !!!
# - Remove this if public page for android implemented on bitrise.io
# !!!
if is_enable_public_page
puts
puts '(!) Public page is not allowed yet, for apk.'
puts '(!) is_enable_public_page = false'
is_enable_public_page = false
end

# - Finish the Artifact creation
puts
puts '=> Finish the Artifact creation'
Expand Down

0 comments on commit 47b8cc9

Please sign in to comment.