drone: android upload sign
the build failed
Details
the build failed
Details
This commit is contained in:
parent
dfb12a2ab0
commit
be1959b60c
|
@ -36,6 +36,7 @@ pipeline:
|
|||
build-android:
|
||||
mem_limit: 3G
|
||||
image: therecipe/qt:android
|
||||
secrets: [upload_jks_file,upload_jks_pass]
|
||||
when:
|
||||
repo: cwtch.im/ui
|
||||
branch: master
|
||||
|
@ -52,6 +53,10 @@ pipeline:
|
|||
- apt-get -qq update && apt-get --no-install-recommends -qq -y install ca-certificates curl git
|
||||
- rm -r vendor/
|
||||
- make clean
|
||||
- echo "cwtch-upload" > android/jks_alias
|
||||
- echo $UPLOAD_JKS_PASS > android/jks_pass
|
||||
- echo $UPLOAD_JKS_FILE > android/ui.jks.b64
|
||||
- base64 --decaode android/ui.jks.b64 > anroid/ui.jks
|
||||
- go mod download
|
||||
- export VERSION=`git describe --tags`
|
||||
- export BUILDDATE=`date +%G-%m-%d-%H-%M`
|
||||
|
@ -62,7 +67,7 @@ pipeline:
|
|||
- mv android/assets assets
|
||||
- cd deploy
|
||||
- export FILENAME=cwtch-android-$BUILDDATE.apk
|
||||
- cp android/build-debug.apk $FILENAME
|
||||
- cp android/build-release-signed.apk $FILENAME
|
||||
- sha256sum $FILENAME > $FILENAME.sha256
|
||||
- rm -r android
|
||||
build-windows:
|
||||
|
|
Reference in New Issue