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

Ensure the bump-version script can bump pre-releases #389

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

mcdonnnj
Copy link
Member

@mcdonnnj mcdonnnj commented Jan 6, 2025

🗣 Description

This is the sibling pull request to cisagov/skeleton-docker#205 that fixes a bug in the command checking logic of the bump-version script.

💭 Motivation and context

We need this expected functionality to work!

🧪 Testing

Automated tests pass. Please see the above linked pull request for more in-depth testing.

✅ Pre-approval checklist

  • This PR has an informative and human-readable title.
  • Changes are limited to a single goal - eschew scope creep!
  • All relevant type-of-change labels have been added.
  • I have read the CONTRIBUTING document.
  • These code changes follow cisagov code standards.
  • All new and existing tests pass.

Currently there is a bug in the script's logic that prevents you from
running `./bump-version prerelease` to bump _just_ the prerelease. This
is due to faulty checking logic to ensure expected behavior when
combining bump commands.
@mcdonnnj mcdonnnj added the bug This issue or pull request addresses broken functionality label Jan 6, 2025
@mcdonnnj mcdonnnj requested a review from a team January 6, 2025 20:44
@mcdonnnj mcdonnnj self-assigned this Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue or pull request addresses broken functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants