Skip to content

Commit

Permalink
fix: Adding url in the mailer payload
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <[email protected]>
  • Loading branch information
ViBiOh committed May 26, 2021
1 parent 2aa4c1f commit cfe60cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/model/ketchup.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ type Release struct {
Repository Repository `json:"repository"`
Pattern string `json:"pattern"`
Version semver.Version `json:"version"`
URL string `json:"url"`
}

// NewRelease creates a new version from its objects
Expand All @@ -118,6 +119,7 @@ func NewRelease(repository Repository, pattern string, version semver.Version) R
Repository: repository,
Pattern: pattern,
Version: version,
URL: repository.URL(pattern),
}
}

Expand Down

0 comments on commit cfe60cc

Please sign in to comment.