diff options
author | Maxime Biais <maxime.biais@gmail.com> | 2015-09-22 15:11:14 +0200 |
---|---|---|
committer | Maxime Biais <maxime.biais@gmail.com> | 2015-09-22 15:11:14 +0200 |
commit | de6a2af0ecdcc797846b3c4c54fc0095381a3346 (patch) | |
tree | b9ca707cd6c8eebb8b652fcf20300653c0a565e8 | |
parent | 56932e189f247e02c5c1a0edcc497176bc22a691 (diff) | |
download | gradle-perf-android-medium-de6a2af0ecdcc797846b3c4c54fc0095381a3346.tar.gz |
check gradle.properties
-rwxr-xr-x | tools/release-checks.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/release-checks.sh b/tools/release-checks.sh index 6687a1721..cbc18cc33 100755 --- a/tools/release-checks.sh +++ b/tools/release-checks.sh @@ -93,9 +93,21 @@ function checkVersions() { echo "last git tag version is $tag" } +function checkGradleProperties() { + /bin/echo -n "Check WordPress/gradle.properties..." + checksum=`cat WordPress/gradle.properties|grep "^wp."|tr "[A-Z]" "[a-z]"|sed "s/ //g"|sort|sha1sum |cut -d- -f1| sed "s/ //g"` + known_checksum="e55897c69b6c2e17facb1c9ad4afe45f566eed20" + if [ x$checksum != x$known_checksum ]; then + pFail + exit 5 + fi + pOk +} + checkNewLanguages checkENStrings checkVersions checkSamsungWorkaround +checkGradleProperties # checkDeviceToTest # runConnectedTests |