From 722c5bb16b1ebe0d902f43e3edafad3bd094fd0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9sar=20Trigo?= Date: Wed, 4 Jan 2017 13:05:00 +0100 Subject: [PATCH] Update step.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added support for ´autoremove´ param that automatically removes the oldest build before uploading a new one to prevent reaching your account limits. --- step.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/step.sh b/step.sh index ff31837..3be0687 100644 --- a/step.sh +++ b/step.sh @@ -56,6 +56,7 @@ echo "* app_id: ${app_id}" echo "* version_name: ${version_name}" echo "* notes: ${notes}" echo "* notify: ${notify}" +echo "* autoremove: ${autoremove}" echo "* os: ${os}" echo "* tags: ${tags}" echo "* apk_path: ${apk_path}" @@ -79,6 +80,7 @@ curl_cmd="$curl_cmd -F \"app=${app_id}\"" curl_cmd="$curl_cmd -F \"versionName=${version_name}\"" curl_cmd="$curl_cmd -F \"notes=${notes}\"" curl_cmd="$curl_cmd -F \"notify=${notify}\"" +curl_cmd="$curl_cmd -F \"autoremove=${autoremove}\"" curl_cmd="$curl_cmd -F \"os=android\"" curl_cmd="$curl_cmd -F \"deployer=bitrise\"" curl_cmd="$curl_cmd -F \"tags=${tags}\""