Skip to content

Commit

Permalink
Merge pull request ethereum#25290 from karalabe/tar-archive-folder-time
Browse files Browse the repository at this point in the history
internal/build: add a timestamp to the tar archive folder
  • Loading branch information
karalabe authored and jagdeep sidhu committed Jul 12, 2022
1 parent bf0ca26 commit 7b7c268
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/build/archive.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import (
"os"
"path/filepath"
"strings"
"time"
)

type Archive interface {
Expand Down Expand Up @@ -159,6 +160,7 @@ func (a *TarballArchive) Directory(name string) error {
Name: a.dir,
Mode: 0755,
Typeflag: tar.TypeDir,
ModTime: time.Now(),
})
}

Expand Down

0 comments on commit 7b7c268

Please sign in to comment.