Change the default publish action from build+ to all
This commit is contained in:
parent
5c85d915cc
commit
d6a603d536
@ -341,11 +341,14 @@ def main():
|
|||||||
help='Only run the specified action, by default the specified action and all sub-sequent actions are run')
|
help='Only run the specified action, by default the specified action and all sub-sequent actions are run')
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'action',
|
'action',
|
||||||
default='build',
|
default='all',
|
||||||
nargs='?',
|
nargs='?',
|
||||||
choices=ALL_ACTIONS,
|
choices=list(ALL_ACTIONS) + ['all'],
|
||||||
help='The action to start with')
|
help='The action to start with')
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
if args.action == 'all':
|
||||||
|
actions = list(ALL_ACTIONS)
|
||||||
|
else:
|
||||||
idx = ALL_ACTIONS.index(args.action)
|
idx = ALL_ACTIONS.index(args.action)
|
||||||
actions = ALL_ACTIONS[idx:]
|
actions = ALL_ACTIONS[idx:]
|
||||||
if args.only:
|
if args.only:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user