What would you like Renovate to be able to do?
I would like Renovate to renovate the .bazelversion file, which is a file that says what Bazel version the project is using. This file is consumed by Bazelisk to fetch and run the correct Bazel version.
Did you already have any implementation ideas?
.bazelversion file and open a PR.Are there any workarounds or alternative ideas you've tried to avoid needing this feature?
Right now I just check every now and then to see if a new release is available, and update the .bazelversion file manually.
You can use regex manager as workaround.
Here's the regex manager workaround I'm using now:
"regexManagers": [
{
"fileMatch": "^\\.bazelversion$",
"matchStrings": ["^(?<currentValue>.*)$"],
"depNameTemplate": "bazelbuild/bazel",
"datasourceTemplate": "github-tags",
},
],
@rohansingh great! But let's keep this issue open because it's good to support such managers out of the box.
Hmm, I guess the regex manager workaround I provided above doesn't actually work, and I'm not sure why. Bazel 3.5.0 has been out for a while but my .bazelversion isn't getting renovated.
Most helpful comment
@rohansingh great! But let's keep this issue open because it's good to support such managers out of the box.