From f1c74b08cb76aac8951f0581e93b4ecf3a0502ce Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Tue, 1 Dec 2020 15:35:55 -0500 Subject: [PATCH] feat: add migration guide link to release notes While they are otherwise available on the upgrading page, they might be missed if perusing the changelog before an upgrade. [ci skip] --- contrib/release-dokku | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/release-dokku b/contrib/release-dokku index 41ce6b805..50d261086 100755 --- a/contrib/release-dokku +++ b/contrib/release-dokku @@ -281,6 +281,10 @@ fn-repo-update-history-and-commit() { HISTORY="${HISTORY}"$'\n'"sudo DOKKU_TAG=v${NEXT_VERSION} bash bootstrap.sh" HISTORY="${HISTORY}"$'\n'"\`\`\`" + if [[ -f "docs/appendices/${NEXT_VERSION}-migration-guide.md" ]]; then + HISTORY="${HISTORY}"$'\n\n'"See the [${NEXT_VERSION} migration guide](/docs/appendices/${NEXT_VERSION}-migration-guide.md) for more information on migrating to ${NEXT_VERSION}." + fi + if [[ "$HISTORY_BC_BREAK" ]]; then HISTORY="${HISTORY}"$'\n\n'"### Backwards Compatibility Breaks" HISTORY="${HISTORY}"$'\n'"$HISTORY_BC_BREAK"