mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-04-15 11:56:56 +02:00
chore: added todo
This commit is contained in:
parent
be1e9ce230
commit
2a35ffbfbe
@ -76,6 +76,8 @@ func checksums(algorithm string, w io.Writer, artifact artifact.Artifact) error
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
// TODO: could change the signature to io.StringWriter, but will break
|
||||
// compatibility with go versions bellow 1.12
|
||||
_, err = io.WriteString(w, fmt.Sprintf("%v %v\n", sha, artifact.Name))
|
||||
return err
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user