mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-24 04:59:26 +01:00
ci: Fix another bug in fdroid upload
This commit is contained in:
parent
493b7000c6
commit
b9aac7c180
@ -126,13 +126,12 @@ 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:
|
||||||
- export UPDATE_VERSION=$(pcregrep -o1 'version:\\s([0-9]*\\.[0-9]*\\.[0-9]*)\\+[0-9]*' pubspec.yaml)
|
|
||||||
- mkdir -p upload
|
- mkdir -p upload
|
||||||
- cp build/android/* upload/
|
- cp build/android/* upload/
|
||||||
- cd build/android/
|
- 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
|
- 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:
|
dependencies:
|
||||||
- build_android_apk
|
- build_android_apk
|
||||||
only:
|
only:
|
||||||
|
Loading…
Reference in New Issue
Block a user