Ensure to pull the reference (branch) after fetching it

This commit is contained in:
Michael Friedrich 2017-08-08 15:03:29 +02:00
parent 962adb6c22
commit 63c979f37b

View File

@ -34,7 +34,7 @@ config['projects'].each do |project_name, project_config|
puts "Checkout ref '#{project_config['ref']}'"
repo.branch(project_config['ref']).checkout
repo.pull()
puts "Building page index from #{project_docs_dir}"
Dir.glob("#{project_docs_dir}/*.md", File::FNM_CASEFOLD).sort.each do |file|