We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 91df8fd + 7060da8 commit 4317f8eCopy full SHA for 4317f8e
1 file changed
scripts/analysis/detectWrongSettings.sh
@@ -8,8 +8,8 @@ snapshotCount=$(./gradlew dependencies | grep SNAPSHOT -c)
8
betaCount=$(grep "<bool name=\"is_beta\">true</bool>" app/src/main/res/values/setup.xml -c)
9
libraryHash=$(grep androidLibraryVersion build.gradle | cut -d= -f2 | tr -d \")
10
11
+baseBranch="stable-2.21"
12
lastHashes=$(curl "https://api.github.com/repos/nextcloud/android-library/commits?sha=$baseBranch" | jq ".[] .sha" | head -n 20)
-baseBranch="master"
13
14
if [[ $(echo "$lastHashes" | grep -c $libraryHash) -ne 1 ]]; then
15
echo "Library commit not within last 10 hashes, please rebase!"
0 commit comments