[CDRIVER-3315] Have calc_release_version.py handle non-release, non-master branches Created: 13/Aug/19 Updated: 10/Feb/23 |
|
| Status: | Backlog |
| Project: | C Driver |
| Component/s: | Build, libmongoc |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Kevin Albertson | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | release-improvements | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | CDRIVER-4577 |
| Description |
|
Since 1.11.0, our releases have been getting tagged after branching. So calc_release_version.py, when run from a non-master, non-release branch, will return something of the form: 1.11.1-20190813+git0fd1e4e8a4 Let's consider instead changing this to be something that clearly indicates this is not a release version (e.g. 0.0.<git hash>) or throwing an error. |
| Comments |
| Comment by Kevin Albertson [ 30/Aug/19 ] | |||
|
A consequence of this is that doing a new minor release calc_release_verison.py results in the wrong version being computed. E.g. right now, while 1.16 is not released:
|