Skip to content

Commit cba8c56

Browse files
committed
Enclose the branch name in quotes for match with the RuboCop core
1 parent 6420226 commit cba8c56

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/antora.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ name: rubocop-rails
22
title: RuboCop Rails
33
# We always provide version without patch here (e.g. 1.1),
44
# as patch versions should not appear in the docs.
5-
version: master
5+
version: 'master'
66
nav:
77
- modules/ROOT/nav.adoc

tasks/cut_release.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ namespace :cut_release do
3939

4040
File.open('docs/antora.yml', 'w') do |f|
4141
f << antora_metadata.sub(
42-
'version: master',
42+
"version: 'master'",
4343
"version: '#{version_sans_patch(new_version)}'"
4444
)
4545
end

0 commit comments

Comments
 (0)