File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ queue : ' Hosted VS2017'
2+
3+ variables :
4+ buildConfiguration : ' Release'
5+
6+ steps :
7+
8+ - task : DotNetCoreCLI@2
9+ inputs :
10+ command : ' restore'
11+ projects : ' **/*.csproj'
12+
13+ - task : DotNetCoreCLI@2
14+ inputs :
15+ command : ' build'
16+ projects : ' **/*.csproj'
17+ arguments : ' --configuration $(buildConfiguration)'
18+
19+ - task : DotNetCoreCLI@2
20+ inputs :
21+ command : pack
22+ packagesToPack : ' src/Blazor.Extensions.Logging/*.csproj'
23+ configuration : ' $(buildConfiguration)'
24+ versioningScheme : byPrereleaseNumber
25+ majorVersion : ' 0'
26+ minorVersion : ' 1'
27+ patchVersion : ' 0'
Original file line number Diff line number Diff line change 1+ queue : ' Hosted VS2017'
2+
3+ variables :
4+ buildConfiguration : ' Release'
5+
6+ steps :
7+
8+ - task : DotNetCoreCLI@2
9+ inputs :
10+ command : ' restore'
11+ projects : ' **/*.csproj'
12+
13+ - task : DotNetCoreCLI@2
14+ inputs :
15+ command : ' build'
16+ projects : ' **/*.csproj'
17+ arguments : ' --configuration $(buildConfiguration)'
18+
19+ - task : DotNetCoreCLI@2
20+ inputs :
21+ command : pack
22+ packagesToPack : ' src/Blazor.Extensions.Logging/*.csproj'
23+ packDirectory : ' $(build.artifactStagingDirectory)'
24+ configuration : ' $(buildConfiguration)'
25+ versioningScheme : byEnvVar
26+ versionEnvVar : Version
27+
28+ - task : NuGetCommand@2
29+ inputs :
30+ command : push
31+ packagesToPush : ' $(build.artifactStagingDirectory)/*.nupkg'
32+ publishFeedCredentials : ' BlazorExtensions'
33+ nuGetFeedType : external
34+ versioningScheme : byEnvVar
35+ versionEnvVar : Version
You can’t perform that action at this time.
0 commit comments