Merge pull request #3984 from muehlburger/dev

Fix filenames in tarball created on windows
pull/4135/head
Matthew Fisher 7 years ago committed by GitHub
commit 3771ef8635
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -205,7 +205,7 @@ func writeTarContents(out *tar.Writer, c *chart.Chart, prefix string) error {
func writeToTar(out *tar.Writer, name string, body []byte) error { func writeToTar(out *tar.Writer, name string, body []byte) error {
// TODO: Do we need to create dummy parent directory names if none exist? // TODO: Do we need to create dummy parent directory names if none exist?
h := &tar.Header{ h := &tar.Header{
Name: name, Name: filepath.ToSlash(name),
Mode: 0755, Mode: 0755,
Size: int64(len(body)), Size: int64(len(body)),
} }

Loading…
Cancel
Save