Merge branch 'MTRNord/fdroid-fix' into 'main'

ci: Run command in an interactive login shell so that all variables are set correct

See merge request famedly/fluffychat!361
This commit is contained in:
Krille Fear 2021-01-27 11:54:24 +00:00
commit 41696020b3

View File

@ -107,7 +107,7 @@ upload-fdroid:
- cd build/android/
- 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:/opt/fdroid/fluffychat/repo
- ssh fluffy@fdroid.nordgedanken.dev "cd /opt/fdroid/fluffychat && fdroid update --verbose"
- ssh fluffy@fdroid.nordgedanken.dev -t '/bin/bash -i -l -c "cd /opt/fdroid/fluffychat && fdroid update --verbose"'
needs: ["build_android_apk"]
resource_group: playstore_release
allow_failure: true