mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-17 06:03:20 +00:00
properly name fdroid artifacts
This commit is contained in:
parent
37c08a9db7
commit
2e1a1a0afe
|
@ -36,11 +36,12 @@ steps:
|
|||
# Copy sources to the building environment
|
||||
- scp -r `pwd` isolated:/var/lib/builder
|
||||
# Build release artifacts
|
||||
- ssh isolated "cd src && flutter build apk --release --split-per-abi"
|
||||
- ssh isolated "cd src && flutter build apk --release"
|
||||
# Fetch the release artifacts
|
||||
- scp isolated:/var/lib/builder/src/build/app/outputs/flutter-apk/*-release.apk `pwd`
|
||||
- scp isolated:/var/lib/builder/src/build/app/outputs/flutter-apk/app-release.apk `pwd`
|
||||
# Rename the artifacts in a more informative way
|
||||
- rename app pro.kherel.selfprivacy *.apk && rename release "$DRONE_SEMVER" *.apk
|
||||
- export APP_BUILD_ID=`yq '.version' pubspec.yaml | cut -d "+" -f2`
|
||||
- mv app-release.apk "pro.kherel.selfprivacy_$APP_BUILD_ID.apk"
|
||||
- ls *.apk
|
||||
environment:
|
||||
SSH_PRIVATE_KEY:
|
||||
|
|
Loading…
Reference in a new issue