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:
|
build-android:
|
||||||
mem_limit: 3G
|
mem_limit: 3G
|
||||||
image: therecipe/qt:android
|
image: therecipe/qt:android
|
||||||
|
secrets: [upload_jks_file,upload_jks_pass]
|
||||||
when:
|
when:
|
||||||
repo: cwtch.im/ui
|
repo: cwtch.im/ui
|
||||||
branch: master
|
branch: master
|
||||||
|
@ -52,6 +53,10 @@ pipeline:
|
||||||
- apt-get -qq update && apt-get --no-install-recommends -qq -y install ca-certificates curl git
|
- apt-get -qq update && apt-get --no-install-recommends -qq -y install ca-certificates curl git
|
||||||
- rm -r vendor/
|
- rm -r vendor/
|
||||||
- make clean
|
- 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
|
- go mod download
|
||||||
- export VERSION=`git describe --tags`
|
- export VERSION=`git describe --tags`
|
||||||
- export BUILDDATE=`date +%G-%m-%d-%H-%M`
|
- export BUILDDATE=`date +%G-%m-%d-%H-%M`
|
||||||
|
@ -62,7 +67,7 @@ pipeline:
|
||||||
- mv android/assets assets
|
- mv android/assets assets
|
||||||
- cd deploy
|
- cd deploy
|
||||||
- export FILENAME=cwtch-android-$BUILDDATE.apk
|
- export FILENAME=cwtch-android-$BUILDDATE.apk
|
||||||
- cp android/build-debug.apk $FILENAME
|
- cp android/build-release-signed.apk $FILENAME
|
||||||
- sha256sum $FILENAME > $FILENAME.sha256
|
- sha256sum $FILENAME > $FILENAME.sha256
|
||||||
- rm -r android
|
- rm -r android
|
||||||
build-windows:
|
build-windows:
|
||||||
|
|
Reference in New Issue