mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-13 18:01:28 +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).
|
* Bump Standards-Version to 3.9.2 (no changes required).
|
||||||
* Drop transitional qemu-kvm-extras-static from alternative suggests.
|
* 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
|
ubuntu-dev-tools (0.120) unstable; urgency=low
|
||||||
|
|
||||||
|
@ -102,6 +102,11 @@ def main():
|
|||||||
if rel.version == version:
|
if rel.version == version:
|
||||||
release = rel
|
release = rel
|
||||||
break
|
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:
|
if not release:
|
||||||
release = create_release(proj, version)
|
release = create_release(proj, version)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user