From 7af6f17a1b0bc3a598086e3a1ba2fb9339739425 Mon Sep 17 00:00:00 2001 From: Oren Novotny Date: Sat, 16 Jun 2018 09:16:56 -0400 Subject: [PATCH] stamp commit into package --- Source/Directory.Build.props | 2 +- Source/Directory.Build.targets | 7 +++++++ Source/MSBuild.Sdk.Extras/MSBuild.Sdk.Extras.nuspec | 3 +-- Tools/MSBuild.Packaging.targets | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Source/Directory.Build.props b/Source/Directory.Build.props index 10f29ab..595f821 100644 --- a/Source/Directory.Build.props +++ b/Source/Directory.Build.props @@ -23,7 +23,7 @@ Oren Novotny © Oren Novotny git - git://github.com/onovotny/MSBuildSdkExtras + https://github.com/onovotny/MSBuildSdkExtras https://github.com/onovotny/MSBuildSdkExtras https://github.com/onovotny/MSBuildSdkExtras/blob/master/LICENSE.md https://github.com/onovotny/MSBuildSdkExtras/blob/master/README.md diff --git a/Source/Directory.Build.targets b/Source/Directory.Build.targets index 768261e..96b2534 100644 --- a/Source/Directory.Build.targets +++ b/Source/Directory.Build.targets @@ -15,4 +15,11 @@ + + true + + + + + \ No newline at end of file diff --git a/Source/MSBuild.Sdk.Extras/MSBuild.Sdk.Extras.nuspec b/Source/MSBuild.Sdk.Extras/MSBuild.Sdk.Extras.nuspec index 7a9763d..6c3218b 100644 --- a/Source/MSBuild.Sdk.Extras/MSBuild.Sdk.Extras.nuspec +++ b/Source/MSBuild.Sdk.Extras/MSBuild.Sdk.Extras.nuspec @@ -12,10 +12,9 @@ $licenseUrl$ $projectUrl$ $releaseNotes$ - + false true - true diff --git a/Tools/MSBuild.Packaging.targets b/Tools/MSBuild.Packaging.targets index 816cea2..9e3edeb 100644 --- a/Tools/MSBuild.Packaging.targets +++ b/Tools/MSBuild.Packaging.targets @@ -30,6 +30,7 @@ + InitializeSourceControlInformationFromSourceControlManager; BuildOnlySettings; PrepareForBuild; PreBuildEvent; @@ -65,7 +66,8 @@ projectUrl=$(PackageProjectUrl); licenseUrl=$(PackageLicenseUrl); packageType=$(PackageType); - releaseNotes=$(PackageReleaseNotes) + releaseNotes=$(PackageReleaseNotes); + sourceRevisionId=$(SourceRevisionId)