Browse Source

Merge pull request #12919 from nextcloud/updateLib

update lib hash: make script working
Tobias Kaminsky 1 year ago
parent
commit
6ecca18ec0
1 changed files with 4 additions and 2 deletions
  1. 4 2
      scripts/updateLibraryHash.sh

+ 4 - 2
scripts/updateLibraryHash.sh

@@ -21,5 +21,7 @@ sed -i s"#androidLibraryVersion\ =.*#androidLibraryVersion =\"$latestCommit\"#"
 
 git add build.gradle
 git add gradle/verification-metadata.xml
-git commit -s -m "Update library"
-gh pr create --head "$(git branch --show-current)" --title "Update library $(date +%F)" --body "Update library to latest commit"
+git commit -s -m "Update library to $(date +%F)" 
+
+git push -u origin HEAD
+gh pr create --fill