Skip to content

Commit

Permalink
add tar.go
Browse files Browse the repository at this point in the history
  • Loading branch information
idsulik committed Oct 6, 2024
1 parent 9695d57 commit 309fd59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/utils/tar.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func CreateTarByPath(path string, modTime time.Time) (*bytes.Buffer, error) {
}

// Set custom modification time
header.ModTime = modTime
header.ModTime = modTime.UTC()

// Write header to the tarball
if err := tw.WriteHeader(header); err != nil {
Expand Down

0 comments on commit 309fd59

Please sign in to comment.