From 84ab0354229d9456e2c459c7e6c2434ce13a176a Mon Sep 17 00:00:00 2001 From: Marcel Date: Fri, 26 Jun 2020 18:35:19 +0000 Subject: [PATCH] Add new required sudo in upload_to_fdroid_repo ci task --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3d23ba2..457df3e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -69,6 +69,7 @@ build_android_apk: - build/app/outputs/apk/release/app-release.apk only: - master + - tags build_android_appbundle: @@ -94,11 +95,11 @@ upload_to_fdroid_repo: ## ## Install ssh-agent if not already installed. ## - - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )' + - 'which ssh-agent || (sudo apt-get update -y && sudo apt-get install openssh-client -y )' ## ## Install rsync if not already installed. ## - - 'which rsync || ( apt-get update -y && apt-get install rsync -y )' + - 'which rsync || (sudo apt-get update -y && sudo apt-get install rsync -y )' ## ## Run ssh-agent (inside the build environment) ##