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 934eb3e commit 761ef6aCopy full SHA for 761ef6a
generate-repo-stub-readme.sh
@@ -26,10 +26,12 @@ fi
26
canonicalRepo="$(curl -fsSLI -o /dev/null -w '%{url_effective}\n' "$canonicalRepo")" # follow redirects (http://stackoverflow.com/a/3077316/433558)
27
githubRepoName="${canonicalRepo#*://github.com/}"
28
29
-if [[ "$githubRepoName" = elastic/* ]]; then
+case "$githubRepoName" in
30
# Elastic points "github-repo" at their upstream elastic/xyz-docker repos, but we want our README stubs to still point at our integration repos
31
- githubRepoName="docker-library/$repo"
32
-fi
+ elastic/*) githubRepoName="docker-library/$repo" ;;
+
33
+ hylang/hy) githubRepoName='hylang/docker-hylang' ;;
34
+esac
35
36
maintainer="$(sed -e 's!%%GITHUB-REPO%%!'"$canonicalRepo"'!g' "$repo/maintainer.md")"
37
0 commit comments