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:
parent
ef3c42f22e
commit
bb33419beb
@ -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,
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user