Skip to content

Commit

Permalink
Update <<next>> version for adoc when running release task
Browse files Browse the repository at this point in the history
  • Loading branch information
koic committed Jan 9, 2022
1 parent e504661 commit 6e31622
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tasks/cops_documentation.rake
Expand Up @@ -12,6 +12,11 @@ end

task update_cops_documentation: :yard_for_generate_documentation do
deps = ['Rails']

# NOTE: Update `<<next>>` version for docs/modules/ROOT/pages/cops_rails.adoc
# when running release tasks.
RuboCop::Rails::Inject.defaults!

CopsDocumentationGenerator.new(departments: deps).call
end

Expand Down

0 comments on commit 6e31622

Please sign in to comment.