2023-07-23 16:19:45 +02:00
|
|
|
pipeline:
|
|
|
|
build:
|
|
|
|
image: alvrme/alpine-android:android-33-jdk11
|
|
|
|
commands:
|
2023-07-26 07:38:50 +02:00
|
|
|
- ./gradlew :app:assembleRelease
|
2023-07-23 16:19:45 +02:00
|
|
|
when:
|
2023-07-25 16:46:18 +02:00
|
|
|
path: [ app/**, build.gradle ]
|
2023-07-26 07:38:50 +02:00
|
|
|
sign:
|
|
|
|
image: alvrme/alpine-android:android-33-jdk11
|
|
|
|
commands:
|
|
|
|
- ./scripts/apk-sign.sh LemmInfinity-signed.apk app/build/outputs/apk/release/app-release-unsigned.apk
|
|
|
|
secrets: [ APK_KS_PASS, APK_KS, APK_KS_ALIAS ]
|
|
|
|
when:
|
|
|
|
event: [ tag ]
|
2023-07-25 16:46:18 +02:00
|
|
|
publish:
|
|
|
|
image: woodpeckerci/plugin-gitea-release
|
|
|
|
settings:
|
|
|
|
base_url: https://codeberg.org
|
|
|
|
files:
|
2023-07-26 07:38:50 +02:00
|
|
|
- LemmInfinity-signed.apk
|
2023-07-25 16:46:18 +02:00
|
|
|
api_key:
|
|
|
|
from_secret: GITEA_ACCESS_TOKEN
|
|
|
|
target: main
|
|
|
|
prerelease: true
|
|
|
|
note: "This is an alpha release. Expect many bugs and unfinished features!"
|
2023-07-25 17:02:02 +02:00
|
|
|
when:
|
|
|
|
event: [ tag ]
|