Closed Bug 1296168 Opened 8 years ago Closed 8 years ago

Can't submit beta or esr release - "Version must match either X.0 or X.Y.Z"

Categories

(Release Engineering :: Applications: Shipit, defect)

defect
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wsmwk, Assigned: jlorenzo)

References

Details

(Keywords: regression)

Attachments

(2 files)

I fill in the blanks in ship-it and click Gimme a Thunderbird, I see "Version must match either X.0 or X.Y.Z". The version I supplied is 49.0b1 (see scree shot). I can't get a build.

nthomas points out on IRC this is related to bug 1293654 and my bug 1283481, and says "I get the problem for both TB and FF betas, in docker"
Broadening to include Firefox, beta and ESR. Looks like
 https://github.com/mozilla-releng/ship-it/blob/ca3db03e6d82d9f392ee61b655356625a432838e/kickoff/views/forms.py#L200
is too narrow for those cases.
Severity: normal → critical
Summary: ship-it Gimme a Thunderbird consistently warns "Version must match either X.0 or X.Y.Z" → Can't submit beta or esr release - "Version must match either X.0 or X.Y.Z"
FYI RelMan.
This passes all the tests, but we probably need some new ones:

VALID_VERSION_PATTERN = re.compile(r'^(\d+\.0|\d+\.\d+\.\d+)(b\d+|esr)?$')
Status: NEW → ASSIGNED
Attached file PR
Attachment #8782303 - Flags: review?(rail)
Sorry for the breakage guys. I added tests to explicitly check valid versions (beta and ESR included).
Attachment #8782303 - Flags: review?(rail) → review+
Landed at https://github.com/mozilla-releng/ship-it/commit/f0288cc69e58968bdda13c84a8698f2b0cda048f
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Thanks for the quick fix Johan.
Blocks: 1297011
Component: Applications: ShipIt (backend) → Applications: ShipIt
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: