Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[main>rc5] fix(version-tools): Fix comparison of 2.0 releases to RC builds #21655

Merged

Conversation

tylerbutler
Copy link
Member

Ports #21641 to RC5.

With the 2.0.0 release, we now have semver releases that are compared with RC and internal build numbers. I have fixed the logic in version-tools to correctly treat RC -> 2.0 as a major bump.

I also updated the generate:buildVersion command to use the list of tags passed in for all logic. There was some code that checked for existing tags and it always used the in-repo tag list. Now, if a list of tags is passed in, it is used for all logic. The repo tags are only consulted when none are passed in.

…osoft#21641)

With the 2.0.0 release, we now have semver releases that are compared
with RC and internal build numbers. I have fixed the logic in
version-tools to correctly treat RC -> 2.0 as a major bump.

I also updated the generate:buildVersion command to use the list of tags
passed in for all logic. There was some code that checked for existing
tags and it always used the in-repo tag list. Now, if a list of tags is
passed in, it is used for all logic. The repo tags are only consulted
when none are passed in.
@pragya91 pragya91 self-requested a review June 27, 2024 16:31
@tylerbutler tylerbutler merged commit b116899 into microsoft:release/client/2.0.0-rc.5.0 Jun 27, 2024
26 checks passed
@tylerbutler tylerbutler deleted the bt-fix-rc5 branch June 27, 2024 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants