Skip to content

Commit 4317f8e

Browse files
Merge pull request #15087 from nextcloud/backport/15086/stable-3.32
[stable-3.32] use baseBranch
2 parents 91df8fd + 7060da8 commit 4317f8e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/analysis/detectWrongSettings.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ snapshotCount=$(./gradlew dependencies | grep SNAPSHOT -c)
88
betaCount=$(grep "<bool name=\"is_beta\">true</bool>" app/src/main/res/values/setup.xml -c)
99
libraryHash=$(grep androidLibraryVersion build.gradle | cut -d= -f2 | tr -d \")
1010

11+
baseBranch="stable-2.21"
1112
lastHashes=$(curl "https://api.github.com/repos/nextcloud/android-library/commits?sha=$baseBranch" | jq ".[] .sha" | head -n 20)
12-
baseBranch="master"
1313

1414
if [[ $(echo "$lastHashes" | grep -c $libraryHash) -ne 1 ]]; then
1515
echo "Library commit not within last 10 hashes, please rebase!"

0 commit comments

Comments
 (0)