feat(changelog): add npm helper text to changelog

This commit is contained in:
Sebastian Beisch
2021-02-24 22:41:47 +01:00
committed by Felix Wiedmann
parent c7d6c7cc7b
commit 3bc68d9794
3 changed files with 147 additions and 28 deletions

View File

@@ -1,6 +1,7 @@
package semanticrelease
import (
"github.com/Nightapes/go-semantic-release/internal/integrations"
"io/ioutil"
"time"
@@ -226,6 +227,12 @@ func (s *SemanticRelease) Release(provider *ci.ProviderConfig, force bool) error
return err
}
integrations := integrations.New(&s.config.Integrations, releaseVersion)
if err := integrations.Run(); err != nil {
log.Debugf("Error during integrations run")
return err
}
hook := hooks.New(s.config, releaseVersion)
if err := hook.PreRelease(); err != nil {
log.Debugf("Error during pre release hook")