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

[DX-3571] ci: update version alpha #178

Merged
merged 3 commits into from
Feb 7, 2025

Conversation

nattb8
Copy link
Collaborator

@nattb8 nattb8 commented Feb 7, 2025

Summary

This PR updates the GitHub Actions workflow to include a new "Mark as alpha release" checkbox. When selected, the updated version will have the .alpha suffix unless it already exists.

  • Added a mark_as_alpha input (boolean checkbox).
  • Adjusted version bumping logic:
    • If not marked as alpha, .alpha is removed if present.
    • If marked as alpha, .alpha is added if not already present.
  • Ensured correct version increments for both patch and minor updates.

Example:

Current Version Upgrade Type Mark as Alpha New Version
1.3.0.alpha Patch No 1.3.0
1.3.0.alpha Minor No 1.4.0
1.3.0 Patch No 1.3.1
1.3.0 Minor No 1.4.0
1.3.0.alpha Patch Yes 1.3.1.alpha
1.3.0.alpha Minor Yes 1.4.0.alpha
1.3.0 Patch Yes 1.3.1.alpha
1.3.0 Minor Yes 1.4.0.alpha

@nattb8 nattb8 requested a review from a team as a code owner February 7, 2025 04:18
@nattb8 nattb8 changed the title ci: update version alpha [DX-3571] ci: update version alpha Feb 7, 2025
@ImmutableJeffrey ImmutableJeffrey merged commit 801ae1f into main Feb 7, 2025
11 checks passed
@ImmutableJeffrey ImmutableJeffrey deleted the ci/update-version-action-alpha branch February 7, 2025 04:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants