зеркало из https://github.com/github/vitess-gh.git
Allow the user to specify a --rev to upload.py.
This commit is contained in:
Родитель
7a64d6d7b6
Коммит
01694baf6b
|
@ -12,5 +12,13 @@ if [ "$(which upload.py)" == "" ]; then
|
|||
_print_download
|
||||
fi
|
||||
|
||||
# if user specified --rev, we're not adding the default one
|
||||
rev="--rev master"
|
||||
for i in $* ; do
|
||||
if [ "$i" == "--rev" ]; then
|
||||
rev=""
|
||||
fi
|
||||
done
|
||||
|
||||
echo "Visit https://accounts.google.com/b/0/IssuedAuthSubTokens to generate an app specific password."
|
||||
upload.py --rev master -y -s codereview.appspot.com -e ${USER}@google.com --cc yt-vt-issues@google.com --send_mail $*
|
||||
upload.py $rev -y -s codereview.appspot.com -e ${USER}@google.com --cc yt-vt-issues@google.com --send_mail $*
|
||||
|
|
Загрузка…
Ссылка в новой задаче