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
{{version}} in commitMessageExtra contains "v" #13299
Comments
Have you tried using removing the |
Thanks for the suggestion. Unfortunately that would lead to the default case of not having |
Oh okay, it was worth a try maybe... 😄 |
I think what we should do is add two new derived values |
Would that not also not imply that |
What I propose has no effect on newVersion or newMajor |
Gotcha. |
@rarkins
Is this what you meant in your approach ? |
I plan to expose two fields |
Can people use |
Yes for example in this case users would use this way :
|
@HonkingGoose what do you think of this description : prettyNewVersionreturns the newVersion value with If you want for example to create a pr title having the changed version:
prettyNewMajorreturns the newMajor value with |
The basic idea for that text is okay, needs some grammar changes though. 😉 |
@HonkingGoose haven't made a pr yet but do you think it is better to just add this as a templating functionality?
|
I don't know about this. 😄 I'll let the maintainers decide. 😉 |
I prefer to popular prettyVersion and prettyNewMajor |
@rarkins which of these is best for usage:
Option 2 :
|
I think let's go with the second approach |
🎉 This issue has been resolved in version 32.152.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
How are you running Renovate?
WhiteSource Renovate hosted app on github.com
If you're self-hosting Renovate, tell us what version of Renovate you run.
No response
Please select which platform you are using if self-hosting.
No response
If you're self-hosting Renovate, tell us what version of the platform you run.
No response
Describe the bug
When using
{{version}}
incommitMessageExtra
it contains a "v" as part of the version string when bumping a github action. It is my understanding that renovateBot would only output the version number, not the string (from the documentation: "version: The version number of the changelog").Using the following configuration (via
package.json
):..I get:
..and in 90% of the PRs created I only see strings like:
chore(deps): vitest v0.0.117
chore(deps): @commitlint/cli v16
.Perhaps it is intentional? If so;
Relevant debug logs
Logs
Have you created a minimal reproduction repository?
No reproduction repository
The text was updated successfully, but these errors were encountered: