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: Support consecutive pre releases #308

Merged
merged 2 commits into from
Sep 5, 2024
Merged

ci: Support consecutive pre releases #308

merged 2 commits into from
Sep 5, 2024

Conversation

mhan83
Copy link
Contributor

@mhan83 mhan83 commented Sep 3, 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

@mhan83 mhan83 changed the title Bump pre-releases properly ci: Support consecutive pre releases Sep 3, 2024
@mhan83 mhan83 marked this pull request as ready for review September 3, 2024 20:53
@mhan83 mhan83 requested a review from a team as a code owner September 3, 2024 20:53
@mhan83 mhan83 merged commit 988c5c5 into main Sep 5, 2024
30 checks passed
@mhan83 mhan83 deleted the devx-3004 branch September 5, 2024 14:50
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.

3 participants