From d5df59ae28730ecd6550a19e47349f55a2b3d1c2 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Tue, 6 Jul 2021 10:46:19 -0700 Subject: [PATCH] Adjust repo stub disclaimer to exclude repos where it makes no sense --- generate-repo-stub-readme.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/generate-repo-stub-readme.sh b/generate-repo-stub-readme.sh index eae8a2d1b..7442166b8 100755 --- a/generate-repo-stub-readme.sh +++ b/generate-repo-stub-readme.sh @@ -40,12 +40,17 @@ if [ -f "$repo/deprecated.md" ]; then echo fi +case "$repo" in + hello-world | buildpack-deps) disclaimer='' ;; + *) disclaimer=" (not to be confused with any official \`$repo\` image provided by \`$repo\` upstream)" ;; +esac + cat <