File tree Expand file tree Collapse file tree 7 files changed +35
-7
lines changed
Expand file tree Collapse file tree 7 files changed +35
-7
lines changed Original file line number Diff line number Diff line change 2424[Bb ]in /
2525[Oo ]bj /
2626[Ll ]og /
27+ msbuild.binlog
2728
2829# Visual Studio 2015 cache/options directory
2930.vs /
@@ -295,4 +296,4 @@ __pycache__/
295296.vscode
296297
297298# OSX
298- .DS_Store
299+ .DS_Store
Original file line number Diff line number Diff line change 1+ trigger :
2+ branches :
3+ include : ["master"]
4+ paths :
5+ exclude : [".github", "doc", "*.md"]
6+
17jobs :
28- job : Windows
39 displayName : Windows
1218 vmImage : ' windows-2019'
1319 steps :
1420 - template : build.yml
21+ - task : CopyFiles@2
22+ displayName : Collect packages
23+ inputs :
24+ SourceFolder : build\$(BuildConfiguration)
25+ Contents : ' *.nupkg'
26+ TargetFolder : $(Build.ArtifactStagingDirectory)\Packages
27+ - task : PublishBuildArtifacts@1
28+ displayName : Publish packages as build artifacts
29+ inputs :
30+ PathtoPublish : $(Build.ArtifactStagingDirectory)\Packages
31+ ArtifactName : Packages
32+ publishLocation : Container
33+ condition : eq(variables['BuildConfiguration'], 'Release')
1534
1635- job : macOS
1736 displayName : macOS
Original file line number Diff line number Diff line change 3131 </Target >
3232
3333 <Target Name =" CreateNuGetPackage" AfterTargets =" RunTests" Condition =" $(Configuration) == 'Release'" >
34- <Exec Command =" dotnet pack " $(MSBuildThisFileDirectory)src\coverlet.msbuild.tasks\coverlet.msbuild.tasks.csproj" -c $(Configuration) -o $(OutputPath) /p:PublicRelease=$(PublicRelease)" />
35- <Exec Command =" dotnet pack " $(MSBuildThisFileDirectory)src\coverlet.console\coverlet.console.csproj" -c $(Configuration) -o $(OutputPath) /p:PublicRelease=$(PublicRelease)" />
36- <Exec Command =" dotnet pack " $(MSBuildThisFileDirectory)src\coverlet.collector\coverlet.collector.csproj" -c $(Configuration) -o $(OutputPath) /p:PublicRelease=$(PublicRelease)" />
34+ <Exec Command =" dotnet pack coverlet.sln -c $(Configuration) /p:PublicRelease=$(PublicRelease)" />
3735 </Target >
3836
3937</Project >
Original file line number Diff line number Diff line change 11steps :
2- - task : DotNetCoreInstaller@0
2+ - task : UseDotNet@2
33 inputs :
4- version : ' 2.2.300'
5- displayName : ' Install .NET Core SDK'
4+ version : 2.2.300
5+ displayName : Install .NET Core SDK
6+
67- script : dotnet msbuild build.proj /p:Configuration=$(buildConfiguration)
78 displayName : ' Run Build'
Original file line number Diff line number Diff line change 44 <OutputType >Library</OutputType >
55 <TargetFramework >netstandard2.0</TargetFramework >
66 <AssemblyVersion >5.1.0</AssemblyVersion >
7+ <IsPackable >false</IsPackable >
78 </PropertyGroup >
89
910 <ItemGroup >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <Project >
3+ <PropertyGroup >
4+ <IsTestProject >true</IsTestProject >
5+ </PropertyGroup >
6+ </Project >
Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <TargetFramework >netcoreapp2.0</TargetFramework >
5+ <IsPackable >false</IsPackable >
6+ <IsTestProject >false</IsTestProject >
57 </PropertyGroup >
68
79</Project >
You can’t perform that action at this time.
0 commit comments