Change the default publish action from build+ to all

This commit is contained in:
Kovid Goyal 2018-07-10 22:05:33 +05:30
parent 5c85d915cc
commit d6a603d536
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -341,11 +341,14 @@ def main():
help='Only run the specified action, by default the specified action and all sub-sequent actions are run')
parser.add_argument(
'action',
default='build',
default='all',
nargs='?',
choices=ALL_ACTIONS,
choices=list(ALL_ACTIONS) + ['all'],
help='The action to start with')
args = parser.parse_args()
if args.action == 'all':
actions = list(ALL_ACTIONS)
else:
idx = ALL_ACTIONS.index(args.action)
actions = ALL_ACTIONS[idx:]
if args.only: