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

Add function to get valid template versions #430

Merged
merged 7 commits into from
Nov 21, 2024
Merged

Conversation

bfoley13
Copy link
Member

Description

This PR adds a function to get a list of valid individual versions from a semver range. This adds the restriction to the draft.yaml Versions field to force a range with bound patch versions.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Refactor

How Has This Been Tested?

Provide instructions so we can reproduce, and list any relevant details for your test configuration. Please mention if this is a breaking change which will impact consuming tool(s).

  • Unit Test:
  • E2E Test:
  • Other Test:

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@bfoley13 bfoley13 enabled auto-merge (squash) November 21, 2024 17:38
Copy link
Contributor

@Vidya2606 Vidya2606 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bfoley13 bfoley13 merged commit a5607c6 into main Nov 21, 2024
149 checks passed
@bfoley13 bfoley13 deleted the brfole/templat-versions branch November 21, 2024 18:13
@bfoley13 bfoley13 mentioned this pull request Dec 4, 2024
audrastump pushed a commit to audrastump/draft that referenced this pull request Dec 13, 2024
audrastump pushed a commit to audrastump/draft that referenced this pull request Dec 16, 2024
audrastump pushed a commit to audrastump/draft that referenced this pull request Dec 19, 2024
audrastump pushed a commit to audrastump/draft that referenced this pull request Jan 2, 2025
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