]> git-server-git.apps.pok.os.sepia.ceph.com Git - keys.git/commitdiff
update: Fix branch reference 432/head
authorZack Cerza <zack@redhat.com>
Thu, 31 Aug 2023 01:19:05 +0000 (18:19 -0700)
committerZack Cerza <zack@redhat.com>
Thu, 31 Aug 2023 01:19:49 +0000 (18:19 -0700)
This script has been broken since July of '22!

Signed-off-by: Zack Cerza <zack@redhat.com>
update

diff --git a/update b/update
index a5bd85ea470913d6187aa469e925b2199df04477..0980200567a56afe2212805d1699285aad4d8342 100755 (executable)
--- a/update
+++ b/update
@@ -28,5 +28,5 @@ EOF
 )"
 git update-ref -m 'Regenerated keys' refs/heads/autogenerated "$COMMIT"
 
-REMOTE="$(git config --get branch.master.remote)"
+REMOTE="$(git config --get branch.main.remote)"
 git push -- "$REMOTE" +autogenerated