diff --git a/build/Repositories.props b/build/Repositories.props index 280ed354b7..189da53c51 100644 --- a/build/Repositories.props +++ b/build/Repositories.props @@ -2,54 +2,53 @@ dev - git@github.com:aspnet/%(Identity) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build/repo.targets b/build/repo.targets index c14f71af01..7aa7207cf2 100644 --- a/build/repo.targets +++ b/build/repo.targets @@ -199,27 +199,45 @@ XmlInputPath="$(RepositoryFileWithCommit)" Query="//Repository[@Include='%(Repository.Identity)']/@Commit" Value="%(Repository.Commit)" /> + + + + <_CloneUrl>$([System.Environment]::GetEnvironmentVariable("vcsroot.%(Repository.Identity).url")) + <_CommitHash>$([System.Environment]::GetEnvironmentVariable("build.vcs.number.%(Repository.Identity)")) + $(_CloneRepositoryRoot)%(Repository.Identity) - - + + + - + + - <_Hash> + <_CommitHash> + <_CloneUrl>