mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +02:00
Merge branch 'master' into globs
This commit is contained in:
commit
aa70697dae
@ -55,6 +55,6 @@ func checksums(ctx *context.Context, file *os.File, name string) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
_, err = file.WriteString(fmt.Sprintf("%v\t%v\n", sha, name))
|
||||
_, err = file.WriteString(fmt.Sprintf("%v %v\n", sha, name))
|
||||
return err
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ func TestPipe(t *testing.T) {
|
||||
assert.Contains(ctx.Artifacts, checksums, binary)
|
||||
bts, err := ioutil.ReadFile(filepath.Join(folder, checksums))
|
||||
assert.NoError(err)
|
||||
assert.Equal(string(bts), "61d034473102d7dac305902770471fd50f4c5b26f6831a56dd90b5184b3c30fc binary\n")
|
||||
assert.Equal(string(bts), "61d034473102d7dac305902770471fd50f4c5b26f6831a56dd90b5184b3c30fc binary\n")
|
||||
}
|
||||
|
||||
func TestPipeFileNotExist(t *testing.T) {
|
||||
|
Loading…
Reference in New Issue
Block a user