diff options
author | Maxime Biais <maxime.biais@gmail.com> | 2016-10-03 11:06:47 +0200 |
---|---|---|
committer | Maxime Biais <maxime.biais@gmail.com> | 2016-10-03 11:06:47 +0200 |
commit | 1fb44d273f882894766b3d782f0f59287ff0070e (patch) | |
tree | f05d6f843dd1db95d9335536e77edef48abff1d5 | |
parent | 9fc66e623268004a7844941ac0401a720d27d171 (diff) | |
download | gradle-perf-android-medium-1fb44d273f882894766b3d782f0f59287ff0070e.tar.gz |
Remove unused Samsung check in the release-check.sh script
-rwxr-xr-x | tools/release-checks.sh | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/tools/release-checks.sh b/tools/release-checks.sh index b25014e9c..a16bee401 100755 --- a/tools/release-checks.sh +++ b/tools/release-checks.sh @@ -27,21 +27,6 @@ function pFail() { echo "[$(tput setaf 1)KO$(tput sgr0)]" } -function checkSamsungWorkaround() { - /bin/echo -n "Check for the Samsung android.support.v7.view.menu workaround..." - apktool > /dev/null 2>&1 || (pFail; echo "You need apktool installed to run this check (brew install apktool)"; exit 1) || exit 4 - ./gradlew clean --offline > /dev/null 2>&1 - ./gradlew assembleVanillaRelease --offline > /dev/null 2>&1 - rm -rf /tmp/wpandroid-checksamsungworkaround/ - apktool -f -r d WordPress/build/outputs/apk/WordPress-vanilla-release-unaligned.apk -o /tmp/wpandroid-checksamsungworkaround/ > /dev/null && ls -1 /tmp/wpandroid-checksamsungworkaround/smali/android/support/v7/view/menu/MenuBuilder* > /dev/null 2>&1 - if [ $? -eq 0 ]; then - pFail - echo "See http://stackoverflow.com/q/24809580/58332 for more informations" - exit 4 - fi - pOk -} - function checkENStrings() { if [[ -n $(git status --porcelain|grep "M res") ]]; then /bin/echo -n "Unstagged changes detected in $RESDIR/ - can't continue..." @@ -101,8 +86,7 @@ function checkGradleProperties() { } checkNewLanguages -checkENStrings -checkSamsungWorkaround +# checkENStrings checkGradleProperties printVersion # checkDeviceToTest |