We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c8b6c5 commit 74917d5Copy full SHA for 74917d5
build.sh
@@ -15,7 +15,7 @@ to_upgrade="${2:-git+https://github.com/mkdocs/mkdocs.git}"
15
info_dir="projects/${repo_name/\//--}"
16
repo_dir="repos/${repo_name/\//--}"
17
18
-[[ "$(head -1 "$info_dir/project.txt")" =~ ^https://github.com/([^/]+/[^/]+)/blob/([^/]+)/(.+)$ ]]
+[[ "$(tail -1 "$info_dir/project.txt")" =~ ^https://github.com/([^/]+/[^/]+)/raw/([^/]+)/(.+)$ ]]
19
repo="${BASH_REMATCH[1]}"
20
commit="${BASH_REMATCH[2]}"
21
mkdocs_yml="${BASH_REMATCH[3]}"
0 commit comments