forked from OData/AspNetCoreOData
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GetNugetPackageMetadata.proj
14 lines (14 loc) · 1.05 KB
/
GetNugetPackageMetadata.proj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="builder.versions.settings.targets" />
<PropertyGroup>
<VersionNugetNightlyBuild>$([System.DateTime]::Now.ToString("yyyyMMddHHmm"))</VersionNugetNightlyBuild>
</PropertyGroup>
<Target Name="Build">
<Message Importance="high" Text="##vso[task.setvariable variable=VersionFullSemantic]$(VersionFullSemantic)" />
<Message Importance="high" Text="##vso[task.setvariable variable=VersionFull]$(VersionFull)" />
<Message Importance="high" Text="##vso[task.setvariable variable=VersionNuGetSemantic]$(VersionNuGetSemantic)" />
<Message Importance="high" Text="##vso[task.setvariable variable=VersionNugetNightlyBuild]$(VersionNugetNightlyBuild)" />
<Message Importance="high" Text="##vso[task.setvariable variable=ODataLibPackageDependency]$(ODataLibPackageDependency)" />
<Message Importance="high" Text="##vso[task.setvariable variable=ODataModelBuilderPackageDependency]$(ODataModelBuilderPackageDependency)" />
</Target>
</Project>