mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
pseudo-version: Use committer time (#707)
This commit is contained in:
parent
0c71cc77f6
commit
a50e82fd1a
@ -44,7 +44,7 @@ func (g *Git) Revision() (string, time.Time, error) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return "", time.Time{}, err
|
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.
|
// FirstParentWithVersionTag returns the first parent of the HEAD commit (or HEAD itself) that has a version tag.
|
||||||
|
Loading…
Reference in New Issue
Block a user