You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-11-06 09:09:29 +02:00
refactor: turned changelog generation into a pipe
I turned myself into a pipe morty! PipeRick!!! refs #284
This commit is contained in:
committed by
Carlos Alexandro Becker
parent
b585ac8b0e
commit
87d269dc45
@@ -22,3 +22,8 @@ func Run(args ...string) (output string, err error) {
|
||||
}
|
||||
return string(bts), err
|
||||
}
|
||||
|
||||
// Clean the output
|
||||
func Clean(output string, err error) (string, error) {
|
||||
return strings.Replace(strings.Split(output, "\n")[0], "'", "", -1), err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user