Skip to content

fix: Semver version pre field doesn't contain dash#156

Merged
Techassi merged 1 commit into
mainfrom
fix/repository-selection
Dec 4, 2023
Merged

fix: Semver version pre field doesn't contain dash#156
Techassi merged 1 commit into
mainfrom
fix/repository-selection

Conversation

@Techassi
Copy link
Copy Markdown
Member

@Techassi Techassi commented Dec 4, 2023

This fixes the helm repo selection based on the parsed version. The old code had several short-comings:

  • The pre field doesn't include the dash used to separate version from pre. The matching however included this dash, resulting in wrong repo selection.
  • Versions where pre starts with pr didn't probably select the Helm test repo.

This fixes the helm repo selection based on the parsed version. The old
code had several short-comings:

- The `pre` field doesn't include the dash used to separate version from
pre. The matching however included this dash, resulting in wrong repo
selection.
- Versions where `pre` starts with `pr` didn't probably select the Helm
test repo.
@Techassi Techassi self-assigned this Dec 4, 2023
Copy link
Copy Markdown
Member

@NickLarsenNZ NickLarsenNZ left a comment

Choose a reason for hiding this comment

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

Love the rstests

@Techassi Techassi added this pull request to the merge queue Dec 4, 2023
Merged via the queue into main with commit eb80cee Dec 4, 2023
@Techassi Techassi deleted the fix/repository-selection branch December 4, 2023 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants