mirror of
https://github.com/docker/compose.git
synced 2025-07-27 07:34:10 +02:00
Partial revert bc034415501
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
5eb3f4b32f
commit
e6aedb1ce0
@ -34,15 +34,6 @@ def create_initial_branch(repository, args):
|
|||||||
release_branch = repository.create_release_branch(args.release, args.base)
|
release_branch = repository.create_release_branch(args.release, args.base)
|
||||||
if args.base and args.cherries:
|
if args.base and args.cherries:
|
||||||
print('Detected patch version.')
|
print('Detected patch version.')
|
||||||
auto_prs = repository.get_prs_in_milestone(args.release)
|
|
||||||
if auto_prs:
|
|
||||||
print(
|
|
||||||
'Found the following PRs in this release\'s milestone: {}'.format(', '.join(auto_prs))
|
|
||||||
)
|
|
||||||
proceed = yesno('Automatically cherry-pick detected PRs? Y/n', default=True)
|
|
||||||
if proceed:
|
|
||||||
repository.cherry_pick_prs(release_branch, auto_prs)
|
|
||||||
|
|
||||||
cherries = input('Indicate (space-separated) PR numbers to cherry-pick then press Enter:\n')
|
cherries = input('Indicate (space-separated) PR numbers to cherry-pick then press Enter:\n')
|
||||||
repository.cherry_pick_prs(release_branch, cherries.split())
|
repository.cherry_pick_prs(release_branch, cherries.split())
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user