summaryrefslogtreecommitdiff
path: root/dir.props
diff options
context:
space:
mode:
authorVance Morrison <vancem@microsoft.com>2017-08-14 19:25:32 -0700
committerGitHub <noreply@github.com>2017-08-14 19:25:32 -0700
commit0a779951d434b116ad174f8333afb717385d6593 (patch)
tree67f826b0f259dba348a64dae520ecd6c087830b3 /dir.props
parent2533323e88a53b2495bac70977670f49b72a45a1 (diff)
downloadcoreclr-0a779951d434b116ad174f8333afb717385d6593.tar.gz
coreclr-0a779951d434b116ad174f8333afb717385d6593.tar.bz2
coreclr-0a779951d434b116ad174f8333afb717385d6593.zip
Add full URL to the FileVersion information created a build time (#13352)
* Tag dlls with the URL of the github commit * Fix name of BuildVersion file for non-official builds This fix does something very safe (only overrides the name of the buildVersionFile with a name from the OfficialBuildId variable if that variable is non-empty. This is importnat because otherwise is that the override ALWAYS kicks in and sometimes corrupts the name, which has the effect of throwning the information in the BuildVersionFile (namely the version number) out * Update to latest build tools.
Diffstat (limited to 'dir.props')
-rw-r--r--dir.props5
1 files changed, 4 insertions, 1 deletions
diff --git a/dir.props b/dir.props
index 5f2f987bdf..4ee67e5022 100644
--- a/dir.props
+++ b/dir.props
@@ -61,6 +61,9 @@
<SourceDir>$(__SourceDir)\</SourceDir>
<SourceDir Condition="'$(__SourceDir)'==''">$(ProjectDir)src\</SourceDir>
+ <!-- This name is used to create a GIT reposiitory URL https://github.com/dotnet/$(GitHubRepositoryName) used to find source code for debugging -->
+ <GitHubRepositoryName Condition="'$(GitHubRepositoryName)' == ''">coreclr</GitHubRepositoryName>
+
<PackagesDir>$(__PackagesDir)\</PackagesDir>
<PackagesDir Condition="'$(__PackagesDir)'==''">$(ProjectDir)packages\</PackagesDir>
@@ -179,7 +182,7 @@
<PackageIndex Include="$(PackageIndexFile)" />
</ItemGroup>
- <PropertyGroup>
+ <PropertyGroup Condition="'$(OfficialBuildId)' != ''">
<BuildVersionFile>$(BaseIntermediateOutputPath)BuildVersion-$(OfficialBuildId).props</BuildVersionFile>
</PropertyGroup>