Skip to content

Commit

Permalink
add getter for build timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
attiasas committed Nov 6, 2023
1 parent ee29567 commit b2341b4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,10 @@ func (b *Build) buildNameAndNumberProvided() bool {
return len(b.buildName) > 0 && len(b.buildNumber) > 0
}

func (b *Build) GetBuildTimestamp() time.Time {
return b.buildTimestamp
}

type partialModule struct {
moduleType entities.ModuleType
artifacts map[string]entities.Artifact
Expand Down

0 comments on commit b2341b4

Please sign in to comment.