From b9aac7c18055d2c9b08bb394700887800d787824 Mon Sep 17 00:00:00 2001 From: Marcel Date: Fri, 2 Oct 2020 15:55:31 +0000 Subject: [PATCH] ci: Fix another bug in fdroid upload --- .gitlab-ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5daa7fd6..9caa120e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -126,13 +126,12 @@ upload_to_fdroid_repo: - chmod 700 ~/.ssh - ssh-keyscan -t rsa fdroid.nordgedanken.dev >> ~/.ssh/known_hosts script: - - export UPDATE_VERSION=$(pcregrep -o1 'version:\\s([0-9]*\\.[0-9]*\\.[0-9]*)\\+[0-9]*' pubspec.yaml) - mkdir -p upload - cp build/android/* upload/ - cd build/android/ - - mv app-release.apk "${UPDATE_VERSION}.apk" + - export UPDATE_VERSION=$(pcregrep -o1 'version:\\s([0-9]*\\.[0-9]*\\.[0-9]*)\\+[0-9]*' pubspec.yaml) && mv app-release.apk "${UPDATE_VERSION}.apk" - rsync -rav -e ssh ./ fluffy@fdroid.nordgedanken.dev:/fdroid/repo - - ssh fluffy@fdroid.nordgedanken.dev "cd fdroid && fdroid update" + - ssh fluffy@fdroid.nordgedanken.dev "cd fdroid && mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc && fdroid update" dependencies: - build_android_apk only: