Skip to content

Commit 6e31622

Browse files
committed
Update <<next>> version for adoc when running release task
1 parent e504661 commit 6e31622

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tasks/cops_documentation.rake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ end
1212

1313
task update_cops_documentation: :yard_for_generate_documentation do
1414
deps = ['Rails']
15+
16+
# NOTE: Update `<<next>>` version for docs/modules/ROOT/pages/cops_rails.adoc
17+
# when running release tasks.
18+
RuboCop::Rails::Inject.defaults!
19+
1520
CopsDocumentationGenerator.new(departments: deps).call
1621
end
1722

0 commit comments

Comments
 (0)