Browse Source

make gh pr create working

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky 1 year ago
parent
commit
619694e042
1 changed files with 1 additions and 1 deletions
  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 build.gradle
 git add gradle/verification-metadata.xml
 git add gradle/verification-metadata.xml
 git commit -s -m "Update library"
 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"