소스 검색

make gh pr create working

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky 1 년 전
부모
커밋
619694e042
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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"