[MONGOCRYPT-455] Ensure builds from master carry versions higher than latest release branch Created: 07/Jul/22  Updated: 28/Oct/23  Resolved: 08/Jul/22

Status: Closed
Project: Libmongocrypt
Component/s: None
Affects Version/s: None
Fix Version/s: 1.6.0, 1.5.1, 1.6.0-alpha0

Type: Bug Priority: Unknown
Reporter: Roberto Sanchez Assignee: Roberto Sanchez
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by PYTHON-3334 Bump min libmongocrypt version to 1.5 Closed

 Description   

Task/bugfix: Ensure that builds from the master branch carry version numbers that are higher than the latest release along the corresponding release branch (r1.5 as of the writing of this ticket).

Background:

As reported by shane.harvey@mongodb.com in Slack, the artifacts generated by Evergreen builds of the libmongocrypt master branch carry a version number that is lower than 1.5.0, which is the current latest release tag on the r1.5 branch. This prevents the Python team from specifying 1.5.0 as the minimum libmongocrypt version because current builds from master are being assigned versions along the lines of 1.5.0-pre3+..., which sort lower than 1.5.0 in SemVer comparisons.

This results from a combination of two factors. Since the 1.3.x releases the libmongocrypt project has begin using release branches (e.g., r1.3, r1.4, r1.5) rather than making releases directly from the master branch. The first is that while some pre-release tags for 1.3, 1.4, and 1.5 were tagged on the master branch, the first full release in each series marked the start of the aforementioned release branches. Second, the Python team did not begin their work until the 1.5 release cycle, so the fact that master builds were being assigned lower version numbers following a final release went unnoticed.



 Comments   
Comment by Githook User [ 08/Jul/22 ]

Author:

{'name': 'Roberto C. Sánchez', 'email': 'roberto@connexer.com', 'username': 'rcsanchez97'}

Message: MONGOCRYPT-455 improve build version number generation (#409)
Branch: r1.5
https://github.com/mongodb/libmongocrypt/commit/e76fecbfa68bbc478bbe8278dc26b2e4364e355c

Comment by Githook User [ 08/Jul/22 ]

Author:

{'name': 'Roberto C. Sánchez', 'email': 'roberto@connexer.com', 'username': 'rcsanchez97'}

Message: MONGOCRYPT-455 improve build version number generation (#409)
Branch: master
https://github.com/mongodb/libmongocrypt/commit/140b84df17be8ff48d94e410766aac12ddf209e1

Generated at Thu Feb 08 09:08:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.