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

ci: Properly support consecutive pre releases #57

Merged
merged 2 commits into from
Sep 5, 2024
Merged

ci: Properly support consecutive pre releases #57

merged 2 commits into from
Sep 5, 2024

Conversation

mhan83
Copy link
Contributor

@mhan83 mhan83 commented Sep 4, 2024

Description

Consecutive pre-releases are not currently possible. Running two release pipelines with the same pre release flavor would result in the following releases: 1.0.1-rc.0 and 1.0.2-rc.0. But what we want when we run the second pre-release pipeline is 1.0.1-rc.1.

Now, parse the latest release name and if the latest is a pre-release and its flavor matches the inputted flavor, we only increment the pre-release version as opposed to a full version bump.

DEVX-3004

Consecutive pre-releases are not currently possible. Running two release pipelines
with the same pre release flavor would result in the following releases:
1.0.1-rc.0 and 1.0.2-rc.0. But what we want when we run the second pre-release
pipeline is 1.0.1-rc.1.

Now, parse the latest release name and if the latest is a pre-release and its flavor
matches the inputted flavor, we only increment the pre-release version as opposed to
a full version bump.

[DEVX-3004]
@mhan83 mhan83 requested a review from a team as a code owner September 4, 2024 17:43
@mhan83 mhan83 merged commit c0f1181 into main Sep 5, 2024
11 checks passed
@mhan83 mhan83 deleted the devx-3004 branch September 5, 2024 14:51
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