mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
lp-project-upload: Use a milestone that already exists if there is
one to use.
This commit is contained in:
commit
4dc91f0366
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -21,7 +21,11 @@ ubuntu-dev-tools (0.121) UNRELEASED; urgency=low
|
||||
* Bump Standards-Version to 3.9.2 (no changes required).
|
||||
* Drop transitional qemu-kvm-extras-static from alternative suggests.
|
||||
|
||||
-- Benjamin Drung <bdrung@debian.org> Mon, 18 Apr 2011 14:52:41 +0200
|
||||
[ Ted Gould ]
|
||||
* lp-project-upload: Use a milestone that already exists if there is
|
||||
one to use.
|
||||
|
||||
-- Ted Gould <ted@ubuntu.com> Mon, 18 Apr 2011 17:52:30 +0200
|
||||
|
||||
ubuntu-dev-tools (0.120) unstable; urgency=low
|
||||
|
||||
|
@ -102,6 +102,11 @@ def main():
|
||||
if rel.version == version:
|
||||
release = rel
|
||||
break
|
||||
if not release:
|
||||
for milestone in proj.all_milestones:
|
||||
if milestone.name == version:
|
||||
today = datetime.date.today().strftime('%Y-%m-%d')
|
||||
release = milestone.createProductRelease(date_released=today)
|
||||
if not release:
|
||||
release = create_release(proj, version)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user