Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
62 lines (50 sloc) 2.46 KB
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="build\corebuild.props" />
<Import Project="Sleet.Azure.props" />
<PropertyGroup>
<PackageId>Sleet.Azure</PackageId>
<PackageVersion>0.1.2</PackageVersion>
<Title>$(PackageId)</Title>
<Description>$(PackageId)</Description>
<Authors>kzu</Authors>
<Summary>Allows pushing nuget packages to Azure storage-backed feeds via MSBuild.</Summary>
<Tags>msbuild nuget azure</Tags>
<PackageProjectUrl>https://github.com/kzu/Sleet.Azure</PackageProjectUrl>
<PackageIconUrl>https://emgartenstatic.blob.core.windows.net/nupkgs/icons/sleet.png</PackageIconUrl>
<PackageReleaseNotes>$([System.IO.File]::ReadAllText('$(MSBuildProjectDirectory)\README.md'))</PackageReleaseNotes>
<PackOnBuild>true</PackOnBuild>
<PackageOutputPath>$(MSBuildProjectDirectory)</PackageOutputPath>
<EmitNuspec>false</EmitNuspec>
<InferPackageContents>false</InferPackageContents>
<GitSkipCache>true</GitSkipCache>
<SleetInit>false</SleetInit>
<StorageAccount>kzu</StorageAccount>
<StorageContainer>nuget</StorageContainer>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="GitInfo" Version="*" PrivateAssets="all" />
<PackageReference Include="NuGet.Build.Packaging" Version="*" PrivateAssets="all" />
<PackageReference Include="Sleet" Version="2.1.0" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<PackageFile Include="Sleet" Version="2.1.0" Kind="Dependency" />
<PackageFile Include="Sleet.Azure.props" Kind="Build" />
<PackageFile Include="Sleet.Azure.targets" Kind="Build" />
</ItemGroup>
<Target Name="Configure" DependsOnTargets="Restore" />
<Target Name="Build" DependsOnTargets="$(BuildDependsOn);_SetVersion">
<Message Text="##vso[build.updatebuildnumber]$(PackageVersion)" Importance="high" Condition="'$(TF_BUILD)' == 'true'" />
</Target>
<Target Name="_AddPackage" BeforeTargets="Push" DependsOnTargets="GetPackageTargetPath">
<ItemGroup>
<Package Include="@(PackageTargetPath)" />
</ItemGroup>
</Target>
<Target Name="_SetVersion" BeforeTargets="GetPackageVersion" DependsOnTargets="GitVersion">
<PropertyGroup>
<PackageVersion>$(GitSemVerMajor).$(GitSemVerMinor).$(GitSemVerPatch)$(GitSemVerDashLabel)</PackageVersion>
</PropertyGroup>
</Target>
<Import Project="Sleet.Azure.targets" />
<Import Project="build\corebuild.targets" />
</Project>