]> git.ozlabs.org Git - next-scripts/blobdiff - make_tree_file
check_fixes: consolidate matching
[next-scripts] / make_tree_file
index fe0b75c16b53a9c1348d59cab80c29d639308a66..66373bfcea5b69f75d6d8d4743966328af361e19 100755 (executable)
@@ -30,6 +30,7 @@ mkdir Next
        IFS='   '
        grep -v '^#' $CTRL_FILE |
                while read email type name url ref build; do
+                       [ "$type" = "branch" ] && continue
                        tab="\t"
                        [ ${#name} -le 8 ] && tab="\t\t"
                        [ "$type" = "git" ] && url="$url#${ref##*:}"
@@ -53,7 +54,7 @@ git branch -f stable refs/remotes/origin/master
 
 p="patch-$l-$n"
 git diff-tree -p "$l.." >"../$p"
-gpg -u $gpg_key -a -b "../$p"
+gpg -u $kup_gpg_key -a -b "../$p"
 
 oldest=$(date --date "3 months ago" '+%Y%m%d')
 echo "Removing old releases ... <= next-$oldest"
@@ -77,4 +78,6 @@ cd ..
 xz -v -9 "$p"
 kup put "$p.xz" "$p.asc" "/pub/linux/kernel/next/$p.gz"
 
+ssh -O exit git@gitolite.kernel.org
+
 exit 0