ci(fdroid): Further fdroid deployment fixes
This commit is contained in:
parent
f59b9d7e66
commit
5fa9d8ba24
1 changed files with 2 additions and 4 deletions
|
|
@ -152,12 +152,10 @@ upload_to_fdroid_repo:
|
||||||
- chmod 700 ~/.ssh
|
- chmod 700 ~/.ssh
|
||||||
- ssh-keyscan -t rsa fdroid.nordgedanken.dev >> ~/.ssh/known_hosts
|
- ssh-keyscan -t rsa fdroid.nordgedanken.dev >> ~/.ssh/known_hosts
|
||||||
script:
|
script:
|
||||||
- mkdir -p upload
|
|
||||||
- cp build/android/* upload/
|
|
||||||
- cd build/android/
|
- 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"
|
- 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
|
- rsync -rav -e ssh ./ fluffy@fdroid.nordgedanken.dev:/fdroid/repo
|
||||||
- ssh fluffy@fdroid.nordgedanken.dev "cd fdroid && mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc && fdroid update"
|
- ssh fluffy@fdroid.nordgedanken.dev "cd fdroid && fdroid update"
|
||||||
needs: ["build_android_apk"]
|
needs: ["build_android_apk"]
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue