Skip to content

Add function to get valid template versions - #430

Merged
Brandon Foley (bfoley13) merged 7 commits into
mainfrom
brfole/templat-versions
Nov 21, 2024
Merged

Add function to get valid template versions#430
Brandon Foley (bfoley13) merged 7 commits into
mainfrom
brfole/templat-versions

Conversation

@bfoley13

Copy link
Copy Markdown
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

@Vidya2606 Vidya Reddy (Vidya2606) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@bfoley13
Brandon Foley (bfoley13) deleted the brfole/templat-versions branch November 21, 2024 18:13
Audra Stump (audrastump) pushed a commit to audrastump/draft that referenced this pull request Dec 13, 2024
Audra Stump (audrastump) pushed a commit to audrastump/draft that referenced this pull request Dec 16, 2024
Audra Stump (audrastump) pushed a commit to audrastump/draft that referenced this pull request Dec 19, 2024
Audra Stump (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