Commit b6cc06c0 authored by Cédric OLIVIER's avatar Cédric OLIVIER
Browse files

fix: used tag not an hardcode master branch (main now)

parent 89f8dc12
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -81,7 +81,7 @@ function maybe_process_template() {
     
      # get README file from latest tag
      log_info " ... downloading README.md to \\e[33;1m$DOC_OUT/ref/$project_name.md\\e[0m..."
      curl -s -H "$AUTH_HEADER" --output "$DOC_OUT/ref/$project_name.md" "$API_URL/projects/$project_id/repository/files/README.md/raw?ref=master"
      curl -s -H "$AUTH_HEADER" --output "$DOC_OUT/ref/$project_name.md" "$API_URL/projects/$project_id/repository/files/README.md/raw?ref=$tag"

      # add entry to TOC
      case "$template_kind" in