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 #77

Merged
merged 1 commit into from
Sep 5, 2024
Merged

ci: Properly support consecutive pre releases #77

merged 1 commit 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 force-pushed the devx-3004 branch 2 times, most recently from d1f46de to b7dc996 Compare September 4, 2024 22:42
@mhan83 mhan83 merged commit f169340 into main Sep 5, 2024
3 checks passed
@mhan83 mhan83 deleted the devx-3004 branch September 5, 2024 14:52
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