Explorar o código

Merge pull request #12604 from nextcloud/updateLibrary

always pull
Tobias Kaminsky hai 1 ano
pai
achega
710ff9eaa8
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      scripts/updateLibraryHash.sh

+ 4 - 0
scripts/updateLibraryHash.sh

@@ -23,6 +23,10 @@
 latestCommit=$(curl -s https://api.github.com/repos/nextcloud/android-library/commits/master | jq .sha | sed s'/\"//g')
 currentCommit=$(grep "androidLibraryVersion" build.gradle | cut -f2 -d'"')
 
+git fetch
+git checkout master
+git pull
+
 [[ $latestCommit == "$currentCommit" ]] && exit # nothing to do
 
 git fetch