1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-04 03:11:55 +02:00

fix: archives should always use forward slash (#4116)

extracted from #3795

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
Carlos Alexandro Becker 2023-06-15 23:43:29 -03:00 committed by GitHub
parent ef3c42f22e
commit bb33419beb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,8 +55,8 @@ func Eval(template *tmpl.Template, files []config.File) ([]config.File, error) {
return nil, err
}
result = append(result, config.File{
Source: file,
Destination: dst,
Source: filepath.ToSlash(file),
Destination: filepath.ToSlash(dst),
Info: f.Info,
})
}