Explorar o código

Fix broken symlink

Christopher Mullins %!s(int64=6) %!d(string=hai) anos
pai
achega
64f76f9784
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      .prepare_docs

+ 1 - 1
.prepare_docs

@@ -63,7 +63,7 @@ cp "${redoc_bundle_file}" "${branch_docs_dir}/index.html"
 
 # Update `latest` symlink to this branch
 rm -rf "${BRANCHES_DIR}/latest"
-ln -s "${branch_docs_dir}" "${BRANCHES_DIR}/latest"
+ln -s "${git_ref_version}" "${BRANCHES_DIR}/latest"
 
 # Create a JSON file containing a list of all branches with docs (we'll
 # have an index page that renders the list).