Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

make_diff: handle kup now that we are using it

  • Loading branch information...
commit 2f38db984fbec74419d64e21a96325821356f13f 1 parent db838f4
@gregkh authored
Showing with 8 additions and 2 deletions.
  1. +8 −2 stable/make_diff
View
10 stable/make_diff
@@ -1,6 +1,7 @@
#!/bin/bash
VERSION=`ketchup -m`
+HOST="gregkh@geb.kernel.org"
REL_ARRAY=(${VERSION//./ })
BASE=${REL_ARRAY[0]}.${REL_ARRAY[1]}.${REL_ARRAY[2]}
@@ -27,9 +28,12 @@ fi
git diff --stat > diffstat
echo "# diffstat created"
-git diff | gzip -9vq > patch-$VERSION.gz
+git diff > patch-$VERSION
echo "# $VERSION patch created"
+gpg -a -b patch-${VERSION}
+
+
DIR="stable-review"
if [ $LONGTERM -eq 1 ]; then
DIR="longterm-review"
@@ -40,5 +44,7 @@ if [ $THREE -eq 1 ]; then
else
VER="2.6"
fi
-echo "scp patch-$VERSION.gz gregkh@master.kernel.org:v$VER/$DIR/"
+echo "scp patch-$VERSION gregkh@master.kernel.org:v$VER/$DIR/"
+
+echo "kup --host=${HOST} put patch-${VERSION} patch-${VERSION}.asc /pub/linux/kernel/v${VER}/${DIR}/patch-${VERSION}.gz"
Please sign in to comment.
Something went wrong with that request. Please try again.