Quellcode durchsuchen

Merge pull request #12642 from nextcloud/ghCreatePR

make gh pr create working
Tobias Kaminsky vor 1 Jahr
Ursprung
Commit
0ed60e2551
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      scripts/updateLibraryHash.sh

+ 1 - 1
scripts/updateLibraryHash.sh

@@ -38,4 +38,4 @@ 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 --title "Update library $(date +%F)" --body "Update library to latest commit"
+gh pr create --head "$(git branch --show-current)" --title "Update library $(date +%F)" --body "Update library to latest commit"