You've already forked go-semantic-release
chore(pkg/semantic-release/changelog): get URL parameter from release-config
This commit is contained in:
@@ -213,7 +213,7 @@ func (s *SemanticRelease) GetChangelog(repro, file string) error {
|
|||||||
result := a.Analyze(commits)
|
result := a.Analyze(commits)
|
||||||
|
|
||||||
c := changelog.New(s.config, a.GetRules())
|
c := changelog.New(s.config, a.GetRules())
|
||||||
_, content, err := c.GenerateChanglog(nextVersion, "https://github.com/Nightapes/go-semantic-release/commit/{{hash}}", result)
|
_, content, err := c.GenerateChanglog(nextVersion, s.config.GitProvider.URL+"{{hash}}", result)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user