From 47b8cc92ad741147a5a96a46d6ed37cd5a22feaa Mon Sep 17 00:00:00 2001 From: Krisztian Godrei Date: Fri, 13 Nov 2015 15:14:30 +0000 Subject: [PATCH] fixes --- uploaders/apk_uploader.rb | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/uploaders/apk_uploader.rb b/uploaders/apk_uploader.rb index 836bfda8..06f0e26d 100644 --- a/uploaders/apk_uploader.rb +++ b/uploaders/apk_uploader.rb @@ -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? @@ -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'