Unverified Commit d740d6e7 authored by Péter Szilágyi's avatar Péter Szilágyi Committed by GitHub

Merge pull request #25290 from karalabe/tar-archive-folder-time

internal/build: add a timestamp to the tar archive folder
parents 48da9d55 68cd0cda
......@@ -25,6 +25,7 @@ import (
"os"
"path/filepath"
"strings"
"time"
)
type Archive interface {
......@@ -159,6 +160,7 @@ func (a *TarballArchive) Directory(name string) error {
Name: a.dir,
Mode: 0755,
Typeflag: tar.TypeDir,
ModTime: time.Now(),
})
}
......
Markdown is supported
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