internal/build: add a timestamp to the tar archive folder

This commit is contained in:
Péter Szilágyi 2022-07-12 14:35:35 +03:00
parent 48da9d5513
commit 68cd0cda4a
No known key found for this signature in database
GPG Key ID: E9AE538CEDF8293D

@ -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(),
})
}