Unverified Commit 2dfb20f3 authored by Matt Farina's avatar Matt Farina Committed by GitHub
Browse files

Merge pull request #7751 from mattfarina/fix-7748

Fixing issue where archives created on windows have broken paths
parents 66292e5e 28b085be
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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(),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment