Merge ~mwhudson/ubuntu-archive-tools:publish-image-set-monthly-releases into ubuntu-archive-tools:main

Proposed by Michael Hudson-Doyle
Status: Merged
Merged at revision: d90e80a4434cb40eb5c0c1fd345b7773234a72a8
Proposed branch: ~mwhudson/ubuntu-archive-tools:publish-image-set-monthly-releases
Merge into: ubuntu-archive-tools:main
Diff against target: 22 lines (+3/-1)
1 file modified
publish-image-set (+3/-1)
Reviewer Review Type Date Requested Status
Utkarsh Gupta Approve
Review via email: mp+486114@code.launchpad.net

Commit message

adapt publish-image-set to be able to publish monthly snapshots

To post a comment you must log in.
Revision history for this message
Utkarsh Gupta (utkarsh) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/publish-image-set b/publish-image-set
2index d4d8ef7..2304219 100755
3--- a/publish-image-set
4+++ b/publish-image-set
5@@ -40,7 +40,7 @@ import sys
6 # See isotracker.py for setup instructions.
7 from isotracker import ISOTracker
8
9-milestone_name_re = re.compile(r'(Alpha|Beta|RC|Final|Pre-release)(?: (\d))?')
10+milestone_name_re = re.compile(r'(Alpha|Beta|RC|Final|Pre-release|Snapshot)(?: (\d))?')
11 stable_name_re = re.compile(r'(Jammy|Noble) (22|24)\.04\.\d+')
12
13 # do not warn about not being able to handle those
14@@ -233,6 +233,8 @@ def do_publish_release(opts, project, type, buildstamp, arches, milestone,
15
16 if 'alpha' in milestone:
17 official = 'no'
18+ elif 'snapshot' in milestone:
19+ official = 'named'
20 else:
21 official = 'named'
22 if (project in ('ubuntu',) and

Subscribers

People subscribed via source and target branches