mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 05:05:31 +03:00
warn for wrong library branch on stable
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
caa2a91bfc
commit
69dd243a39
1 changed files with 3 additions and 0 deletions
|
@ -58,6 +58,9 @@ else
|
|||
if [ $baseBranch = "master" -a $(grep "android-library:master" build.gradle -c) -ne 3 ]; then
|
||||
checkLibraryMessage="<h1>Android-library is not set to master branch in build.gradle</h1>"
|
||||
checkLibrary=1
|
||||
elif [ $baseBranch != "master" -a $baseBranch = $stableBranch -a $(grep "android-library:.*SNAPSHOT" build.gradle -c) -ne 0 ]; then
|
||||
checkLibraryMessage="<h1>Android-library is set to a SNAPSHOT in build.gradle</h1>"
|
||||
checkLibrary=1
|
||||
else
|
||||
checkLibrary=0
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue