Skip to content

Commit b32faee

Browse files
fix: stop plugins after successful run
1 parent bcbe6aa commit b32faee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/semantic-release/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ func cliHandler(cmd *cobra.Command, args []string) {
7777
logger.Println("stopping plugins...")
7878
pluginManager.Stop()
7979
}
80+
defer exitHandler()
8081

8182
c := make(chan os.Signal, 1)
8283
signal.Notify(c, os.Interrupt, syscall.SIGTERM)

0 commit comments

Comments
 (0)