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

fix(Renovate): Only prepend "v" when missing #367

Merged
merged 1 commit into from
Mar 14, 2024
Merged

Conversation

Kurt-von-Laven
Copy link
Contributor

@Kurt-von-Laven Kurt-von-Laven commented Mar 14, 2024

We prepend "v" to the "from" version number, currentVersion, for consistency with the "to" version number, prettyNewVersion, because Renovate doesn't expose a prettyCurrentVersion. However, an upstream change recently caused currentVersion to start with a "v" when bumping Node.js. Hence, only prepend a "v" to a semantic version number that doesn't start with "v."

@Kurt-von-Laven Kurt-von-Laven self-assigned this Mar 14, 2024
We prepend "v" to the "from" version number,
`currentVersion`, for consistency with the "to"
version number, `prettyNewVersion`, because
Renovate doesn't expose a `prettyCurrentVersion`.
However, an upstream change recently caused
`currentVersion` to start with a "v" when bumping
Node.js. Hence, only prepend a "v" to a semantic
version number that doesn't start with "v."
Copy link
Contributor

@mwarres mwarres left a comment

Choose a reason for hiding this comment

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

LGTM

@Kurt-von-Laven Kurt-von-Laven merged commit 3502956 into main Mar 14, 2024
1 check passed
@Kurt-von-Laven Kurt-von-Laven deleted the renovate branch March 14, 2024 17:26
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