-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
extractVersion with postProcessRelease (maven) causes rejected release #32266
Comments
I created as well https://github.com/Shegox/spring-boot-major as a minimal reproduction repository. Effectively the use case is tracking a major release of {
"customManagers": [
{
"customType": "regex",
"description": "Regex manager to update the spring major version in `spring-boot-major`.",
"fileMatch": [
"spring-boot-major$"
],
"matchStrings": [
"^(?<currentValue>\\d+)"
],
"datasourceTemplate": "maven",
"depNameTemplate": "org.springframework.boot:spring-boot",
"extractVersionTemplate": "^(?<version>\\d+)"
}
]
} The logs show then, that the postProcessing tries to lookup the extracted version (in this case just
My expectation/assumption would be that we need to lookup the non-extracted version ( |
@zharinov can we save a field like |
I just saw it working in my test repository (Shegox/spring-boot-major#2). Looks like a fix got implemented? Maybe #32376 The logs now show this:
Edit: Can confirm in my original/internal scenario it is working now again as well 👍 🚀 |
Yes that was the fix/workaround |
🎉 This issue has been resolved in version 39.18.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Discussed in #31886
Originally posted by remal October 10, 2024
What would you like help with?
I would like help with my configuration
How are you running Renovate?
Mend Renovate hosted app on github.com
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
No response
Please tell us more about your question or problem
Miniumal reproduction repository: https://github.com/remal/renovate-reproduction-intellij-ideaIC-build-range-eap
Context
I'm developing an IntelliJ IDEA plugin and would like to configure Renovate to update
pluginUntilBuild
property in thegradle.properties
file.Chosen approach to configure Renovate
gradle.properties
file.pluginUntilBuild
property.XXX-EAP-SNAPSHOT
version ofcom.jetbrains.intellij.idea:ideaIC
dependency in https://www.jetbrains.com/intellij-repository/snapshots/XXX-EAP-SNAPSHOT
version should be converted toXXX
(seeextractVersion
)Issue
The property is not updated. An unexpected message can be found in the logs:
DEBUG: Rejected release
What's wrong? What would you suggest me to change?
Logs (if relevant)
Full logs: https://developer.mend.io/github/remal/renovate-reproduction-intellij-ideaIC-build-range-eap/-/job/d8b53513-063b-42cc-9d75-400b0665247c
Relevant logs
The text was updated successfully, but these errors were encountered: