compat-drivers: modify release script to support unified drivers
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>
Wed, 5 Dec 2012 01:28:11 +0000 (17:28 -0800)
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>
Wed, 5 Dec 2012 01:28:11 +0000 (17:28 -0800)
The -u argument was used to upload releases to kernel.org. Lets
rename this to -r for 'release to kernel.org' given that we have
no introduced -u for unified-drivers support into compat-drivers.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
scripts/gen-release.sh

index daefca5a100e455538454bcc5310c8b5a2980dd0..4573cc2980f6a4fc543e8f6ffa3287181a78bcd7 100755 (executable)
@@ -54,15 +54,16 @@ function usage()
        echo -e "or"
        echo -e "export GIT_TREE=${HOME}/linux-next/"
        echo -e ""
-       echo -e "${GREEN}$1${NORMAL} ${BLUE}[ -s | -n | -p | -c | -u | -k ]${NORMAL}"
+       echo -e "${GREEN}$1${NORMAL} ${BLUE}[ -s | -n | -p | -c | -r | -k ]${NORMAL}"
        echo -e ""
        echo -e "-s apply ${BLUE}pending-stable/${NORMAL}             patches"
        echo -e "-n apply ${BLUE}linux-next-cherry-picks/${NORMAL}    patches"
        echo -e "-p apply ${BLUE}linux-next-pending/${NORMAL}         patches"
        echo -e "-c apply ${BLUE}crap/${NORMAL}                       patches"
+       echo -e "-u apply ${BLUE}unified-drivers/${NORMAL}            patches"
        echo -e ""
        echo -e "-k run ${GREEN}git clean -x -d -f${NORMAL} for you, ${RED}not for the faint of heart${NORMAL}"
-       echo -e "-u upload to kernel.org"
+       echo -e "-r release to kernel.org"
        echo
        echo Examples usages:
        echo
@@ -135,8 +136,13 @@ while [ $# -ne 0 ]; do
                POSTFIX_RELEASE_TAG="${POSTFIX_RELEASE_TAG}c"
                shift; continue;
        fi
-
        if [[ "$1" = "-u" ]]; then
+               UPDATE_ARGS="${UPDATE_ARGS} $1"
+               POSTFIX_RELEASE_TAG="${POSTFIX_RELEASE_TAG}u"
+               shift; continue;
+       fi
+
+       if [[ "$1" = "-r" ]]; then
                USE_KUP="1"
                shift; continue;
        fi