Browse Source

make script working

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky 1 year ago
parent
commit
78737d1078
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