]> git.ozlabs.org Git - next-scripts/commitdiff
split pushing of fs-next from pending-fixes
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 7 Nov 2024 22:56:25 +0000 (09:56 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 7 Nov 2024 22:56:25 +0000 (09:56 +1100)
push-fs-next [new file with mode: 0755]
push-pending-fixes

diff --git a/push-fs-next b/push-fs-next
new file mode 100755 (executable)
index 0000000..739dad7
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+read -r -p "Yubikey token: " tok
+# shellcheck disable=SC2029
+ssh git@gitolite.kernel.org 2fa val-session "$tok"
+
+git push -f korg refs/heads/fs-current:refs/heads/fs-current refs/heads/fs-next:refs/heads/fs-next
+
+ssh -O exit git@gitolite.kernel.org
+
+exit 0
index dfe60d26650c89cf5a9b4e63269e8c0adb3bd662..9ed5ab93cccc7b8d7228e64d10329392814113a3 100755 (executable)
@@ -4,7 +4,7 @@ read -r -p "Yubikey token: " tok
 # shellcheck disable=SC2029
 ssh git@gitolite.kernel.org 2fa val-session "$tok"
 
-git push -f korg refs/heads/pending-fixes:refs/heads/pending-fixes refs/heads/fs-current:refs/heads/fs-current refs/heads/fs-next:refs/heads/fs-next
+git push -f korg refs/heads/pending-fixes:refs/heads/pending-fixes
 
 ssh -O exit git@gitolite.kernel.org