Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
renovate
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
Renovate Bot
renovate
Commits
5119bad9
Unverified
Commit
5119bad9
authored
2 years ago
by
HonkingGoose
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
docs: replace example name (#15035)
parent
974fa7b2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/usage/faq.md
+8
-8
8 additions, 8 deletions
docs/usage/faq.md
with
8 additions
and
8 deletions
docs/usage/faq.md
+
8
−
8
View file @
5119bad9
...
...
@@ -236,8 +236,8 @@ Nest it inside config objects `patch` or `minor` if you want it to apply to cert
Renovate's default behavior is to separate major and minor releases, patch releases are also considered "minor".
Let's explain the default behavior with an example:
Say you are using a package
`
snorgleborf
`
, it's the
`0.8.0`
version.
The
`
snorgleborf
`
maintainers then release the following versions:
Say you are using a package
`
foo
`
, it's the
`0.8.0`
version.
The
`
foo
`
maintainers then release the following versions:
-
`0.8.1`
(patch)
-
`0.9.0`
(minor)
...
...
@@ -245,8 +245,8 @@ The `snorgleborf` maintainers then release the following versions:
Renovate would then open the following PRs:
-
Update dependency
`
snorgleborf
`
to
`0.9.0`
(minor)
-
Update dependency
`
snorgleborf
`
to
`1.0.0`
(major)
-
Update dependency
`
foo
`
to
`0.9.0`
(minor)
-
Update dependency
`
foo
`
to
`1.0.0`
(major)
Note how Renovate groups the patch and minor versions together into one PR.
This means you only get a PR for the minor version,
`0.9.0`
.
...
...
@@ -256,15 +256,15 @@ To learn more read the section below.
#### Overriding the default behavior for major/minor releases
You can see in the example above that Renovate won't normally open a PR for the
`
snorgleborf
`
patch release.
You can see in the example above that Renovate won't normally open a PR for the
`
foo
`
patch release.
You can tell Renovate to open a separate PR for the patch release by setting
`separateMinorPatch`
to
`true`
.
In both cases, Renovate will open 3 PRs:
-
Update dependency
`
snorgleborf
`
to
`0.8.1`
(patch)
-
Update dependency
`
snorgleborf
`
to
`0.9.0`
(minor)
-
Update dependency
`
snorgleborf
`
to
`1.0.0`
(major)
-
Update dependency
`
foo
`
to
`0.8.1`
(patch)
-
Update dependency
`
foo
`
to
`0.9.0`
(minor)
-
Update dependency
`
foo
`
to
`1.0.0`
(major)
Most people don't want more PRs though.
But it can still be handy to get PRs for patches when using automerge:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment