Files
goreleaser/pipeline/git/exec.go
T

13 lines
253 B
Go

package git
import (
"strings"
"github.com/goreleaser/goreleaser/internal/git"
)
func cleanGit(args ...string) (output string, err error) {
output, err = git.Run(args...)
return strings.Replace(strings.Split(output, "\n")[0], "'", "", -1), err
}