We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23b98fd commit f358a1eCopy full SHA for f358a1e
1 file changed
notifier/src/parts/fetchReleaseNotes.ts
@@ -43,15 +43,13 @@ export default async function fetchReleaseNotes(users: ActionableUser[]) {
43
);
44
45
repos.forEach((userRepos) =>
46
- userRepos.forEach(
47
- ({ repo, tags }) =>
48
- notes[repo] &&
49
- tags.forEach(
50
- (tag) =>
51
- (tag.entry = notes[repo]
52
- ? notes[repo][tag.name] || ""
53
- : "Couldn't load release notes")
54
- )
+ userRepos.forEach(({ repo, tags }) =>
+ tags.forEach(
+ (tag) =>
+ (tag.entry = notes[repo]
+ ? notes[repo][tag.name] || ""
+ : `<a href="https://github.com/${repo}/releases/tag/${tag.name}">Release notes</a>`)
+ )
55
)
56
57
return users;
0 commit comments