浏览代码

Merge pull request #12919 from nextcloud/updateLib

update lib hash: make script working
Tobias Kaminsky 1 年之前
父节点
当前提交
6ecca18ec0
共有 1 个文件被更改,包括 4 次插入2 次删除
  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