Skip to content

Commit

Permalink
handle a subset of APKs being present for signing
Browse files Browse the repository at this point in the history
This makes it easier to build and sign VanadiumConfig separately.
  • Loading branch information
thestinger committed Aug 29, 2024
1 parent 84054f3 commit e1652be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions generate-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ readonly APPS=(
TrichromeChrome
TrichromeLibrary
TrichromeWebView
VanadiumConfig
)

read -p "Enter keystore passphrase: " -s keystore_pass
Expand All @@ -23,6 +24,7 @@ for d in "$@"; do
cd release

for app in ${APPS[@]}; do
[[ ! -f ../${app}*.apk ]] && echo "missing ${app}" && continue
$APKSIGNER sign --ks $KEYSTORE --ks-pass file:/dev/stdin --ks-key-alias vanadium --in ../${app}*.apk --out $app.apk <<< $keystore_pass
done

Expand Down

0 comments on commit e1652be

Please sign in to comment.