Skip to content

Commit e03b43e

Browse files
committed
Pull when generating docs to ensure we are current.
1 parent 44dd385 commit e03b43e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ end
6060
desc "Updates the rspec.github.io docs"
6161
task :update_docs, [:version, :branch, :website_path] do |t, args|
6262
args.with_defaults(:website_path => "../rspec.github.io")
63-
run_command "git checkout #{args[:branch]}"
63+
run_command "git checkout #{args[:branch]} && git pull --rebase"
6464
each_project :except => UnDocumentedProjects do |project|
6565
cmd = "RUBYOPT='-I#{args[:website_path]}/lib' bundle exec yard --plugin rspec-docs-template --output-dir #{args[:website_path]}/source/documentation/#{args[:version]}/#{project}/"
6666
puts cmd

0 commit comments

Comments
 (0)