Merge pull request #7751 from mattfarina/fix-7748

Fixing issue where archives created on windows have broken paths
pull/6920/head
Matt Farina 5 years ago committed by GitHub
commit 2dfb20f332
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save