|
|
@ -6,7 +6,7 @@ android: |
|
|
|
- build-tools-28.0.3 |
|
|
|
- build-tools-28.0.3 |
|
|
|
before_script: |
|
|
|
before_script: |
|
|
|
- sed -i "s/blue {}//" app/build.gradle |
|
|
|
- sed -i "s/blue {}//" app/build.gradle |
|
|
|
- sed -i "s/debug {}//" app/build.gradle |
|
|
|
# - sed -i "s/debug {}//" app/build.gradle |
|
|
|
before_cache: |
|
|
|
before_cache: |
|
|
|
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock |
|
|
|
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock |
|
|
|
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/ |
|
|
|
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/ |
|
|
@ -18,7 +18,7 @@ cache: |
|
|
|
script: |
|
|
|
script: |
|
|
|
- ./gradlew build |
|
|
|
- ./gradlew build |
|
|
|
after_success: |
|
|
|
after_success: |
|
|
|
- $ANDROID_HOME/build-tools/28.0.3/apksigner sign --ks debug.keystore --ks-key-alias androiddebugkey --ks-pass "pass:android" --key-pass "pass:android" --in $(find -name "*-green-release-unsigned.apk") --out husky-green-release.apk |
|
|
|
- $ANDROID_HOME/build-tools/28.0.3/apksigner sign --ks debug.keystore --ks-key-alias androiddebugkey --ks-pass "pass:android" --key-pass "pass:android" --in $(find -name "*-green-debug.apk") --out husky-green-release.apk |
|
|
|
- wget https://raw.githubusercontent.com/FWGS/uploadtool/master/upload.sh |
|
|
|
- wget https://raw.githubusercontent.com/FWGS/uploadtool/master/upload.sh |
|
|
|
- chmod +x upload.sh |
|
|
|
- chmod +x upload.sh |
|
|
|
- ./upload.sh husky-green-release.apk |
|
|
|
- ./upload.sh husky-green-release.apk |
|
|
|