diff options
-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 |