Build config with custom apk sign
This commit is contained in:
parent
111f7b6980
commit
7861dd270e
2 changed files with 17 additions and 6 deletions
11
build-apk.sh
11
build-apk.sh
|
@ -1,5 +1,4 @@
|
|||
#/bin/bash
|
||||
set -e
|
||||
#/bin/sh
|
||||
echo '/*
|
||||
Licensed to the Apache Software Foundation (ASF) under one
|
||||
or more contributor license agreements. See the NOTICE file
|
||||
|
@ -55,12 +54,12 @@ sed -i '' -e 's/org.apache.cordova.*;/com.vladstirbu.cordova.CordovaActivity;/g'
|
|||
mkdir -p output
|
||||
echo "* Building english version..."
|
||||
mv www.eng www
|
||||
cordova build android --prod --release -- --packageType=apk
|
||||
cordova build android --prod --release
|
||||
mv www www.eng
|
||||
mv platforms/android/app/build/outputs/apk/release/app-release-unsigned.apk output/app-release-en-unsigned.apk
|
||||
mv platforms/android/app/build/outputs/apk/release/app-release.apk output/app-release-en.apk
|
||||
|
||||
echo "* Building russian version..."
|
||||
mv www.rus www
|
||||
cordova build android --prod --release -- --packageType=apk
|
||||
cordova build android --prod --release
|
||||
mv www www.rus
|
||||
mv platforms/android/app/build/outputs/apk/release/app-release-unsigned.apk output/app-release-ru-unsigned.apk
|
||||
mv platforms/android/app/build/outputs/apk/release/app-release.apk output/app-release-ru.apk
|
12
build.json
Normal file
12
build.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"android": {
|
||||
"release": {
|
||||
"keystore": "file.jks",
|
||||
"storePassword": "passwd",
|
||||
"alias": "alias",
|
||||
"password" : "passwd",
|
||||
"keystoreType": "jks",
|
||||
"packageType": "apk"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue