Skip to content

Commit

Permalink
fix: use html release url rather than api url
Browse files Browse the repository at this point in the history
  • Loading branch information
kormide committed Nov 8, 2023
1 parent 319a530 commit 43c3c21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/application/release-event-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class ReleaseEventHandler {
event.payload.sender.login,
repository
);
const releaseUrl = event.payload.release.url;
const releaseUrl = event.payload.release.html_url;

const tag = event.payload.release.tag_name;

Expand Down
2 changes: 1 addition & 1 deletion src/domain/publish-entry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class PublishEntryService {
"main",
`${moduleName}@${version}`,
`\
Release: [${tag}](${releaseUrl})
Release: ${releaseUrl}
Author: @${releaser.username}
Expand Down

0 comments on commit 43c3c21

Please sign in to comment.