Exemplo n.º 1
0
 public Release(StructuredVersion version, Commit tagCommit, IEnumerable <GitCommit> commits)
 {
     Version = version;
     Commits = commits.ToList().AsReadOnly();
     // Assume that if a release isn't tagged yet, it's because we're releasing it today.
     ReleaseDate = tagCommit?.GetDate().UtcDateTime ?? DateTime.Today;
 }