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

ci(fdroid): Make sure we first fetch the host key

See merge request ChristianPauly/fluffychat-flutter!163
This commit is contained in:
Sorunome 2020-09-13 17:44:11 +00:00
commit a352de0029
1 changed files with 1 additions and 0 deletions

View File

@ -124,6 +124,7 @@ upload_to_fdroid_repo:
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh
- 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