]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
scripts/tag_stable: add script
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Feb 2014 21:53:29 +0000 (13:53 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Feb 2014 21:53:29 +0000 (13:53 -0800)
scripts/tag_stable [new file with mode: 0755]

diff --git a/scripts/tag_stable b/scripts/tag_stable
new file mode 100755 (executable)
index 0000000..d5e0a12
--- /dev/null
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+if [ $# -ne 1 ]; then
+       echo -e "Usage:\t $0 release_number\ne.g.\t $0 2.6.11.12"
+       exit 1
+fi
+
+RELEASE=$1
+echo "tagging stable release $RELEASE"
+echo "[ret] to continue ^C to quit"
+read
+
+
+# tag it
+#git tag -u kroah.com -m "This is the $RELEASE stable release" v$RELEASE
+git tag -u 6092693E -m "This is the $RELEASE stable release" v$RELEASE
+
+exit