Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support release template to link updated dependencies #15

Open
tunnckoCore opened this issue Feb 12, 2018 · 0 comments
Open

Support release template to link updated dependencies #15

tunnckoCore opened this issue Feb 12, 2018 · 0 comments

Comments

@tunnckoCore
Copy link
Member

tunnckoCore commented Feb 12, 2018

Renovate has commit patter, on which we can parse and get the updated dependency and replace it with a link [@tunnckocore/pretty-config](link-to-resolved-homepage-of-that-package).

Should parse the locals.commit.subject to get the name update dependency <packageName> to

https://github.com/tunnckoCore/new-release-app/blob/c3d078798ba2bfb32a50b094188cfcb16f5fe7f7/src/index.js#L199-L203

let subject = locals.commit.subject
subject = subject.replace(/update dependency (.*) to/, 'https://ghub.io/$1')

locals.commit.subject = subject

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant