Skip to content

Commit

Permalink
feat: add link to archive in the submitted issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bnjbvr committed Aug 1, 2023
1 parent 379dde9 commit c544137
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/81.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add a link to the archive containing all the logs in the webhook's body
1 change: 1 addition & 0 deletions submit.go
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,7 @@ func buildGenericIssueRequest(p payload, listingURL string) (title, body string)

// Add log links to the body
fmt.Fprintf(bodyBuf, "\n[Logs](%s)", listingURL)
fmt.Fprintf(bodyBuf, " ([archive](%s))", listingURL+"?format=tar.gz")

for _, file := range p.Files {
fmt.Fprintf(
Expand Down

0 comments on commit c544137

Please sign in to comment.