Skip to content

Commit

Permalink
fix(acceptance): use a more standard git commit time format
Browse files Browse the repository at this point in the history
i think this might be an issue with the sha256 of the tile
I would think it would also change the source_revision but maybe not
  • Loading branch information
crhntr committed Mar 9, 2024
1 parent 28a2574 commit 0fb9a83
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ func copyTileDirectory(dir, tileDirectory string) (string, error) {
if err := executeAndWrapError(testTileDir, env, "git", "add", "."); err != nil {
return "", fmt.Errorf("tile path is not a repository: adding initial files failed: %w", err)
}
env = updateEnvVar(env, "GIT_AUTHOR_DATE", "1112937193 -0700")
env = updateEnvVar(env, "GIT_COMMITTER_DATE", "1112937193 -0700")
env = updateEnvVar(env, "GIT_AUTHOR_DATE", "Thu, 07 Apr 2005 22:13:13")
env = updateEnvVar(env, "GIT_COMMITTER_DATE", "Thu, 07 Apr 2005 22:13:13")
if err := executeAndWrapError(testTileDir, env, "git", "commit", "-m", "initial commit"); err != nil {
return "", fmt.Errorf("tile path is not a repository: adding initial files failed: %w", err)
}
Expand Down

0 comments on commit 0fb9a83

Please sign in to comment.