Put CHANGELOG URL on new line in commit / PR body

Signed-off-by: Hidde Beydals <hello@hidde.co>
pull/858/head
Hidde Beydals 4 years ago
parent dbc4e537fe
commit ee4c1fb36c

@ -32,7 +32,8 @@ jobs:
go mod edit -require="github.com/fluxcd/$1/api@${RELEASE_VERSION}"
fi
PR_BODY="$PR_BODY- $1 to [${RELEASE_VERSION}](https://github.com/fluxcd/$1/blob/${RELEASE_VERSION}/CHANGELOG.md)%0A"
# NB: special URL encoded formatting required for newlines
PR_BODY="$PR_BODY- $1 to ${RELEASE_VERSION}%0A https://github.com/fluxcd/$1/blob/${RELEASE_VERSION}/CHANGELOG.md%0A"
fi
}

Loading…
Cancel
Save