Add repo's deprecated notice to its stub readme too (if applicable)
This commit is contained in:
parent
4365185292
commit
7438617499
|
|
@ -26,6 +26,13 @@ fi
|
||||||
canonicalRepo="$(curl -fsSLI -o /dev/null -w '%{url_effective}\n' "$canonicalRepo")" # follow redirects (http://stackoverflow.com/a/3077316/433558)
|
canonicalRepo="$(curl -fsSLI -o /dev/null -w '%{url_effective}\n' "$canonicalRepo")" # follow redirects (http://stackoverflow.com/a/3077316/433558)
|
||||||
travisRepo="${canonicalRepo#*://github.com/}"
|
travisRepo="${canonicalRepo#*://github.com/}"
|
||||||
|
|
||||||
|
if [ -f "$repo/deprecated.md" ]; then
|
||||||
|
echo '# DEPRECATED'
|
||||||
|
echo
|
||||||
|
cat "$repo/deprecated.md"
|
||||||
|
echo
|
||||||
|
fi
|
||||||
|
|
||||||
cat <<EOREADME
|
cat <<EOREADME
|
||||||
# About this Repo
|
# About this Repo
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue