Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
  • Loading branch information
secustor and HonkingGoose authored Jan 8, 2024
1 parent be6d668 commit 603e029
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/usage/configuration-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -423,8 +423,8 @@ Currently, this config option only works with these managers:

Raise a feature request if you want to use this config option with other package managers.

Its purpose is if you want Renovate to update the `version` field within your package file any time it updates dependencies within.
Usually this is for automatic release purposes, so that you don't need to add another step after Renovate before you can release a new version.
Use `bumpVersion` if you want Renovate to update the `version` field in your package file when it updates the dependencies in that file.
This can be handy when you have automated your package's release, as you you don't need extra steps after the Renovate upgrade, you can just release a new version.

Configure this value to `"prerelease"`, `"patch"`, `"minor"` or `"major"` to have Renovate update the version in your edited package file.
e.g. if you wish Renovate to always increase the target `package.json` version with a patch update, configure this to `"patch"`.
Expand Down
4 changes: 3 additions & 1 deletion lib/modules/manager/ocb/readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Renovate uses this manager to update dependencies defined in the build definitions for the [OpenTelemetry Collector Builder (ocb)](https://github.com/open-telemetry/opentelemetry-collector/tree/main/cmd/builder).

The `ocb` manager has no `fileMatch` default patterns, so it won't match any files until you configure it with a pattern.
By default, the `ocb` manager has no `fileMatch` patterns.
This means you must set a `fileMatch` pattern for the `ocb` manager, in order for Renovate to update your `ocb` files.
Here's a configuration example:

```json title="If your builder files are named like foo-builder.yml or builder.yaml"
{
Expand Down

0 comments on commit 603e029

Please sign in to comment.