Fix "deprecated" + autogenerated

This commit is contained in:
Tianon Gravi 2017-03-10 14:19:26 -08:00
parent 0b653185b6
commit 88b9db9e5a
3 changed files with 21 additions and 17 deletions

View File

@ -0,0 +1,15 @@
<!--
********************************************************************************
WARNING:
DO NOT EDIT "%%REPO%%/README.md"
IT IS AUTO-GENERATED
(from the other files in "%%REPO%%/" combined with a set of templates)
********************************************************************************
-->

View File

@ -1,19 +1,3 @@
<!--
********************************************************************************
WARNING:
DO NOT EDIT "%%REPO%%/README.md"
IT IS AUTO-GENERATED
(from the other files in "%%REPO%%/" combined with a set of templates)
********************************************************************************
-->
# Supported tags and respective `Dockerfile` links # Supported tags and respective `Dockerfile` links
%%TAGS%% %%TAGS%%

View File

@ -71,7 +71,12 @@ for repo in "${repos[@]}"; do
deprecated+=$'\n\n' deprecated+=$'\n\n'
fi fi
{ echo -n "$deprecated"; cat "$helperDir/template.md"; } > "$repo/README.md" {
cat "$helperDir/autogenerated-warning.md"
echo
echo -n "$deprecated"
cat "$helperDir/template.md"
} > "$repo/README.md"
echo ' TAGS => generate-dockerfile-links-partial.sh' echo ' TAGS => generate-dockerfile-links-partial.sh'
partial="$("$helperDir/generate-dockerfile-links-partial.sh" "$repo")" partial="$("$helperDir/generate-dockerfile-links-partial.sh" "$repo")"