Add in prompt (and generation of) project team
This seems to be a new required field so prompt for it when creating a new file (and default it to the same value as the launchpad project name). Change-Id: Ie822bc10cf207317ad52759b7676c7156dd348fc
This commit is contained in:
parent
b41d728582
commit
57d30a7667
@ -188,6 +188,9 @@ def maybe_create_release(release_repo_path, deliverable_info,
|
|||||||
"Announcement email address: ",
|
"Announcement email address: ",
|
||||||
validator=NoEmptyValidator(),
|
validator=NoEmptyValidator(),
|
||||||
default=ANNOUNCE_EMAIL)
|
default=ANNOUNCE_EMAIL)
|
||||||
|
team = prompt("Project team: ",
|
||||||
|
validator=NoEmptyValidator(),
|
||||||
|
default=launchpad_project)
|
||||||
include_pypi_link = yes_no_prompt("Include pypi link? ")
|
include_pypi_link = yes_no_prompt("Include pypi link? ")
|
||||||
newest_release = collections.OrderedDict([
|
newest_release = collections.OrderedDict([
|
||||||
('launchpad', launchpad_project),
|
('launchpad', launchpad_project),
|
||||||
@ -195,6 +198,7 @@ def maybe_create_release(release_repo_path, deliverable_info,
|
|||||||
('include-pypi-link', include_pypi_link),
|
('include-pypi-link', include_pypi_link),
|
||||||
('release-notes', notes_link),
|
('release-notes', notes_link),
|
||||||
('releases', []),
|
('releases', []),
|
||||||
|
('team', team),
|
||||||
])
|
])
|
||||||
possible_hashes = []
|
possible_hashes = []
|
||||||
for sha, _descr in change_lines:
|
for sha, _descr in change_lines:
|
||||||
|
Loading…
Reference in New Issue
Block a user