From 0b16329e9a2749b8a15833a289abbeb9ff955ce1 Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Thu, 29 Jul 2021 17:37:53 +0200 Subject: [PATCH] Remove unused script --- scripts/install_latest_artifact.sh | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100755 scripts/install_latest_artifact.sh diff --git a/scripts/install_latest_artifact.sh b/scripts/install_latest_artifact.sh deleted file mode 100755 index 92a779dd..00000000 --- a/scripts/install_latest_artifact.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash - -set -eu - -BUILD_NUM=`curl -s 'https://circleci.com/api/v1.1/project/github/GitJournal/GitJournal?limit=1&offset=0&filter=successful' | jq .[0] | jq -r .build_num` -echo "CircleCI Buld Number: $BUILD_NUM" - -URL=`curl -s https://circleci.com/api/v1.1/project/github/GitJournal/GitJournal/$BUILD_NUM/artifacts | jq .[1] | jq -r .url` -APK_LOCATION="/tmp/gitjournal.apk" - -echo "Downloading $URL" -curl "$URL" -o "$APK_LOCATION" - -adb uninstall io.gitjournal.gitjournal || true -adb install -r "$APK_LOCATION"