mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-07 16:55:15 -04:00
pseudo-version: Use committer time (#707)
This commit is contained in:
parent
0c71cc77f6
commit
a50e82fd1a
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ func (g *Git) Revision() (string, time.Time, error) {
|
|||
if err != nil {
|
||||
return "", time.Time{}, err
|
||||
}
|
||||
return commitRef.Hash().String()[:12], commit.Author.When, nil
|
||||
return commitRef.Hash().String()[:12], commit.Committer.When, nil
|
||||
}
|
||||
|
||||
// FirstParentWithVersionTag returns the first parent of the HEAD commit (or HEAD itself) that has a version tag.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue