apk test and web update
This commit is contained in:
parent
74c3e97ec9
commit
3c27a0fa7c
2 changed files with 8 additions and 4 deletions
|
|
@ -66,8 +66,8 @@ android {
|
|||
buildTypes {
|
||||
debug {
|
||||
signingConfig signingConfigs.debug
|
||||
applicationIdSuffix ".debug"
|
||||
versionNameSuffix "-debug"
|
||||
applicationIdSuffix ""
|
||||
versionNameSuffix ""
|
||||
}
|
||||
release {
|
||||
signingConfig signingConfigs.release
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
#!/bin/sh -ve
|
||||
rm -r assets/js/package
|
||||
cd assets/js/ && curl -L $(curl -s 'https://api.github.com/repos/famedly/olm/releases' | jq -r '.[0] | .assets | .[0] | .browser_download_url') > olm.zip && cd ../../
|
||||
|
||||
OLM_VERSION=$(cat pubspec.yaml | yq .dependencies.flutter_olm)
|
||||
DOWNLOAD_PATH="https://github.com/famedly/olm/releases/download/v$OLM_VERSION/olm.zip"
|
||||
|
||||
cd assets/js/ && curl -L $DOWNLOAD_PATH > olm.zip && cd ../../
|
||||
cd assets/js/ && unzip olm.zip && cd ../../
|
||||
cd assets/js/ && rm olm.zip && cd ../../
|
||||
cd assets/js/ && mv javascript package && cd ../../
|
||||
cd assets/js/ && mv javascript package && cd ../../
|
||||
Loading…
Add table
Reference in a new issue